mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-30 22:32:03 +02:00
fix: qemu-user-static on aarch64 - disable pie
This commit is contained in:
@@ -41,6 +41,15 @@ in
|
||||
}
|
||||
);
|
||||
})
|
||||
# https://github.com/NixOS/nixpkgs/issues/366902
|
||||
(final: prev: {
|
||||
qemu-user = prev.qemu-user.overrideAttrs (
|
||||
old:
|
||||
lib.optionalAttrs final.stdenv.hostPlatform.isStatic {
|
||||
configureFlags = old.configureFlags ++ [ "--disable-pie" ];
|
||||
}
|
||||
);
|
||||
})
|
||||
];
|
||||
|
||||
# supported file systems, so we can mount any removable disks with these filesystems
|
||||
|
||||
Reference in New Issue
Block a user