X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=build.nix;h=a37a6c6ee774f4872989b01672dc33c47ccdef6b;hb=f5baaf48e3e82b1caf9f5cd1207d4d6feba3a2e5;hp=831c7e9f1e4d2f9db6818d272888f6589b384721;hpb=fb35dbfdc5a9446fbb856dae5542b23963e28b89;p=bcachefs-tools-debian diff --git a/build.nix b/build.nix index 831c7e9..a37a6c6 100644 --- a/build.nix +++ b/build.nix @@ -35,12 +35,12 @@ in stdenv.mkDerivation { BCACHEFS_FUSE = if fuseSupport then "1" else ""; - cargoRoot = "rust-src"; + cargoRoot = "."; # when git-based crates are updated, run: # nix run github:Mic92/nix-update -- --version=skip --flake default # to update the hashes cargoDeps = rustPlatform.importCargoLock { - lockFile = "${src}/rust-src/Cargo.lock"; + lockFile = "${src}/Cargo.lock"; outputHashes = { "bindgen-0.64.0" = "sha256-GNG8as33HLRYJGYe0nw6qBzq86aHiGonyynEM7gaEE4="; };