diff --git a/nix/README.md b/nix/README.md index 6df9cad2ae..5bc94b991c 100644 --- a/nix/README.md +++ b/nix/README.md @@ -183,12 +183,6 @@ It is inadvised to update revisions without the use of `nix flake update` as it' Modify the relevant `rev` field in `flake.lock` to what you need - you can use `nix-prefetch-git` to find an up-to-date revision. Leave the `narHash` entry as is and attempt a rebuild to find out what its value should be. -### Rust toolchain - -If the `rust-toolchain` file is updated, you will need to update the `sha256` hash in the `nix/rustPkgs.nix` file. - -Trying to build the derivation should give you the correct hash to put in. - ## Formatting Use [nixpkgs-fmt](https://github.com/nix-community/nixpkgs-fmt) to format files. diff --git a/nix/rustPkgs.nix b/nix/rustPkgs.nix deleted file mode 100644 index a96730488b..0000000000 --- a/nix/rustPkgs.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ nixpkgsMoz, pkgs }: -let - mozPkgs = import "${nixpkgsMoz}/package-set.nix" { - inherit pkgs; - }; - - channel = mozPkgs.rustChannelOf { - rustToolchain = ../rust-toolchain; - sha256 = "sha256-9wp6afVeZqCOEgXxYQiryYeF07kW5IHh3fQaOKF2oRI="; - }; -in -channel // { - rust = channel.rust.override { extensions = [ "rust-src" ]; }; -}