remove unnecessary patch
This commit is contained in:
parent
65dd0103ac
commit
bf144d599d
@ -21,7 +21,7 @@
|
|||||||
autoOptimiseStore = false;
|
autoOptimiseStore = false;
|
||||||
|
|
||||||
package = inputs.nix.packages.x86_64-linux.nix.overrideAttrs (oa: {
|
package = inputs.nix.packages.x86_64-linux.nix.overrideAttrs (oa: {
|
||||||
patches = [ ./nix.patch ./flakes.patch ] ++ oa.patches or [];
|
patches = [ ./nix.patch ] ++ oa.patches or [];
|
||||||
});
|
});
|
||||||
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/src/nix/get-env.sh b/src/nix/get-env.sh
|
|
||||||
index 42c806450..a8563c772 100644
|
|
||||||
--- a/src/nix/get-env.sh
|
|
||||||
+++ b/src/nix/get-env.sh
|
|
||||||
@@ -8,6 +8,8 @@ if [[ -n $stdenv ]]; then
|
|
||||||
source $stdenv/setup
|
|
||||||
fi
|
|
||||||
|
|
||||||
+unset -f isMachO
|
|
||||||
+
|
|
||||||
# Better to use compgen, but stdenv bash doesn't have it.
|
|
||||||
__vars="$(declare -p)"
|
|
||||||
__functions="$(declare -F)"
|
|
Loading…
x
Reference in New Issue
Block a user