Loading pkgs/by-name/bc/bcachefs-tools/package.nix +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ libuuid, libsodium, keyutils, kmod, liburcu, zlib, libaio, Loading Loading @@ -45,6 +46,9 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' substituteInPlace Makefile \ --replace-fail "target/release/bcachefs" "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/bcachefs" substituteInPlace src/commands/mount.rs \ --replace-fail 'std::process::Command::new("modprobe")' 'std::process::Command::new("${lib.getExe' kmod "modprobe"}")' ''; nativeBuildInputs = [ Loading Loading
pkgs/by-name/bc/bcachefs-tools/package.nix +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ libuuid, libsodium, keyutils, kmod, liburcu, zlib, libaio, Loading Loading @@ -45,6 +46,9 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' substituteInPlace Makefile \ --replace-fail "target/release/bcachefs" "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/bcachefs" substituteInPlace src/commands/mount.rs \ --replace-fail 'std::process::Command::new("modprobe")' 'std::process::Command::new("${lib.getExe' kmod "modprobe"}")' ''; nativeBuildInputs = [ Loading