mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-28 02:19:33 +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
|
# supported file systems, so we can mount any removable disks with these filesystems
|
||||||
|
|||||||
Reference in New Issue
Block a user