mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
build(nix): remove useless rustpkgs
This commit is contained in:
parent
ff1d86cee3
commit
6331f4e1cc
@ -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.
|
||||
|
@ -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" ]; };
|
||||
}
|
Loading…
Reference in New Issue
Block a user