diff --git a/nix/overlay.nix b/nix/overlay.nix index f1a7cb13..f84b6036 100644 --- a/nix/overlay.nix +++ b/nix/overlay.nix @@ -14,6 +14,7 @@ final: prev: { debugMode = true; }; + mount = final.callPackage ../rust-src/mount {}; kernelPackages = final.recurseIntoAttrs (final.linuxPackagesFor final.bcachefs.kernel); kernel = final.callPackage ./bcachefs-kernel.nix { commit = final.bcachefs.tools.bcachefs_revision; diff --git a/mount/Cargo.lock b/rust-src/mount/Cargo.lock similarity index 100% rename from mount/Cargo.lock rename to rust-src/mount/Cargo.lock diff --git a/mount/Cargo.toml b/rust-src/mount/Cargo.toml similarity index 100% rename from mount/Cargo.toml rename to rust-src/mount/Cargo.toml diff --git a/mount/build.rs b/rust-src/mount/build.rs similarity index 100% rename from mount/build.rs rename to rust-src/mount/build.rs diff --git a/mount/src/filesystem.rs b/rust-src/mount/src/filesystem.rs similarity index 100% rename from mount/src/filesystem.rs rename to rust-src/mount/src/filesystem.rs diff --git a/mount/src/key.rs b/rust-src/mount/src/key.rs similarity index 100% rename from mount/src/key.rs rename to rust-src/mount/src/key.rs diff --git a/mount/src/keyutils_wrapper.h b/rust-src/mount/src/keyutils_wrapper.h similarity index 100% rename from mount/src/keyutils_wrapper.h rename to rust-src/mount/src/keyutils_wrapper.h diff --git a/mount/src/lib.rs b/rust-src/mount/src/lib.rs similarity index 100% rename from mount/src/lib.rs rename to rust-src/mount/src/lib.rs diff --git a/mount/src/libbcachefs_wrapper.h b/rust-src/mount/src/libbcachefs_wrapper.h similarity index 100% rename from mount/src/libbcachefs_wrapper.h rename to rust-src/mount/src/libbcachefs_wrapper.h