1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:47:45 +00:00

Toolchain: serenity.nix: Fix fuse2fs not being installed

Nix (nixpkgs) have updated a while back how the e2fsprogs derivation
works and now fuse2fs wasnt being installed with it. It is now needed to
add a new derivation (package) to the dependency list: "fuse2fs". This
fixes the Meta/serenity.sh script not finding the fuse2fs binary for
rootless image building :^)
This commit is contained in:
Baitinq 2022-10-05 11:29:34 +02:00 committed by Sam Atkins
parent 7354ac724e
commit 48389f4179

View file

@ -25,13 +25,10 @@ stdenv.mkDerivation {
openssl openssl
xlibsWrapper xlibsWrapper
qemu qemu
# e2fsprogs needs some optional parameter to activate fuse2fs with which e2fsprogs
# the qemu image will be mounted without root access. fuse2fs
(e2fsprogs.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [ pkgs.fuse ];
}))
# glibc # glibc
]; ];
hardeningDisable = [ "format" "fortify" ]; hardeningDisable = [ "format" "fortify" ];
} }