summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-07-23 17:09:06 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-07-24 17:25:40 -0400
commit66c41943b334bb02575b04f551f056824319d767 (patch)
tree951efff9d3e4c56a0a0101ca9c2b74b47c213412 /pkgs/os-specific
parent40c33cbd4e079173388dfdaf8e34b555be6b0a73 (diff)
downloadnixlib-66c41943b334bb02575b04f551f056824319d767.tar
nixlib-66c41943b334bb02575b04f551f056824319d767.tar.gz
nixlib-66c41943b334bb02575b04f551f056824319d767.tar.bz2
nixlib-66c41943b334bb02575b04f551f056824319d767.tar.lz
nixlib-66c41943b334bb02575b04f551f056824319d767.tar.xz
nixlib-66c41943b334bb02575b04f551f056824319d767.tar.zst
nixlib-66c41943b334bb02575b04f551f056824319d767.zip
gnu mig: Remove crossAttrs
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/gnu/mig/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/os-specific/gnu/mig/default.nix b/pkgs/os-specific/gnu/mig/default.nix
index 2855f5b4240f..d138011d595b 100644
--- a/pkgs/os-specific/gnu/mig/default.nix
+++ b/pkgs/os-specific/gnu/mig/default.nix
@@ -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";