···8080 # prepend the nix path to the zoneinfo files but also leave the original value for static binaries
8181 # that run outside a nix server
8282 sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
8383-8484- '' + lib.optionalString stdenv.isDarwin ''
8585- sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
8686-8787- sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
8883 '';
89849085 patches = [
-5
pkgs/development/compilers/go/1.19.nix
···8080 # prepend the nix path to the zoneinfo files but also leave the original value for static binaries
8181 # that run outside a nix server
8282 sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
8383-8484- '' + lib.optionalString stdenv.isDarwin ''
8585- sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
8686-8787- sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
8883 '';
89849085 patches = [