mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
gnu mig: Remove crossAttrs
This commit is contained in:
parent
40c33cbd4e
commit
66c41943b3
@ -21,13 +21,11 @@ stdenv.mkDerivation {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
crossAttrs = {
|
||||
postInstall =
|
||||
# Fix the shebang to point to the cross-built shell.
|
||||
'' sed -i "$out/bin/mig" \
|
||||
-e 's|^#!/.*|#!${bash.crossDrv}/bin/sh|g'
|
||||
'';
|
||||
};
|
||||
# Fix the shebang to point to the cross-built shell. Won't be needed
|
||||
# after #43833.
|
||||
postInstall = ''
|
||||
sed -i "$out/bin/mig" -e 's|^#!/.*|#!${bash}/bin/sh|g'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GNU MIG, the Mach interface generator";
|
||||
|
Loading…
Reference in New Issue
Block a user