tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
go: prePatch -> postPatch
- also drop previous postPatch
zowoq
3 years ago
8eadecd9
cec343a1
+2
-10
2 changed files
expand all
collapse all
unified
split
pkgs
development
compilers
go
1.18.nix
1.19.nix
+1
-5
pkgs/development/compilers/go/1.18.nix
reviewed
···
67
67
68
68
hardeningDisable = [ "all" ];
69
69
70
70
-
prePatch = ''
70
70
+
postPatch = ''
71
71
patchShebangs ./ # replace /bin/bash
72
72
73
73
# Patch the mimetype database location which is missing on NixOS.
···
92
92
./ssl-cert-file-1.16.patch
93
93
./go_no_vendor_checks-1.16.patch
94
94
];
95
95
-
96
96
-
postPatch = ''
97
97
-
find . -name '*.orig' -exec rm {} ';'
98
98
-
'';
99
95
100
96
GOOS = stdenv.targetPlatform.parsed.kernel.name;
101
97
GOARCH = goarch stdenv.targetPlatform;
+1
-5
pkgs/development/compilers/go/1.19.nix
reviewed
···
67
67
68
68
hardeningDisable = [ "all" ];
69
69
70
70
-
prePatch = ''
70
70
+
postPatch = ''
71
71
patchShebangs ./ # replace /bin/bash
72
72
73
73
# Patch the mimetype database location which is missing on NixOS.
···
92
92
./ssl-cert-file-1.16.patch
93
93
./go_no_vendor_checks-1.16.patch
94
94
];
95
95
-
96
96
-
postPatch = ''
97
97
-
find . -name '*.orig' -exec rm {} ';'
98
98
-
'';
99
95
100
96
GOOS = stdenv.targetPlatform.parsed.kernel.name;
101
97
GOARCH = goarch stdenv.targetPlatform;