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:
parent
7354ac724e
commit
48389f4179
Notes:
sideshowbarker
2024-07-17 06:15:51 +09:00
Author: https://github.com/Baitinq Commit: https://github.com/SerenityOS/serenity/commit/48389f4179 Pull-request: https://github.com/SerenityOS/serenity/pull/15480
1 changed files with 3 additions and 6 deletions
|
@ -25,13 +25,10 @@ stdenv.mkDerivation {
|
|||
openssl
|
||||
xlibsWrapper
|
||||
qemu
|
||||
# e2fsprogs needs some optional parameter to activate fuse2fs with which
|
||||
# the qemu image will be mounted without root access.
|
||||
(e2fsprogs.overrideAttrs (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.fuse ];
|
||||
}))
|
||||
e2fsprogs
|
||||
fuse2fs
|
||||
# glibc
|
||||
];
|
||||
|
||||
|
||||
hardeningDisable = [ "format" "fortify" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue