···1313# To not have to set the option in every repository it is needed in,
1414# save the following script in your path with the name "git-bblame"
1515# now you can run
1616-# $ git blame $FILE
1616+# $ git bblame $FILE
1717# to use the .git-blame-ignore-revs file if it is present.
1818#
1919# #!/usr/bin/env bash
···238238 </listitem>
239239 <listitem>
240240 <para>
241241+ <link xlink:href="https://github.com/fleaz/r53-ddns">r53-ddns</link>,
242242+ a small tool to run your own DDNS service via AWS Route53.
243243+ Available as
244244+ <link xlink:href="options.html#opt-services.r53-ddns.enable">services.r53-ddns</link>.
245245+ </para>
246246+ </listitem>
247247+ <listitem>
248248+ <para>
241249 <link xlink:href="https://ergo.chat">ergochat</link>, a modern
242250 IRC with IRCv3 features. Available as
243251 <link xlink:href="options.html#opt-services.ergochat.enable">services.ergochat</link>.
+2
nixos/doc/manual/release-notes/rl-2205.section.md
···77777878- [snowflake-proxy](https://snowflake.torproject.org/), a system to defeat internet censorship. Available as [services.snowflake-proxy](options.html#opt-services.snowflake-proxy.enable).
79798080+- [r53-ddns](https://github.com/fleaz/r53-ddns), a small tool to run your own DDNS service via AWS Route53. Available as [services.r53-ddns](options.html#opt-services.r53-ddns.enable).
8181+8082- [ergochat](https://ergo.chat), a modern IRC with IRCv3 features. Available as [services.ergochat](options.html#opt-services.ergochat.enable).
81838284- [Snipe-IT](https://snipeitapp.com), a free open source IT asset/license management system. Available as [services.snipe-it](options.html#opt-services.snipe-it.enable).
···1111 repo = "ASF-ui";
1212 # updated by the update script
1313 # this is always the commit that should be used with asf-ui from the latest asf version
1414- rev = "156992e88d5c695375e9f69c29f2c68bec24d2b1";
1515- sha256 = "0zqiaj0957rr4kzw8q8zkxvd88nqw5ssym81dsd3pa0ypr4vqb4w";
1414+ rev = "bb59242af6f17a54449e6f87e9df397da1a19525";
1515+ sha256 = "0d9x0fcjxghmjqnfxj22x2hnx3k6jfsayb2ws7ayn3azcczfsccp";
1616 };
17171818in
···11-# This file has been generated by node2nix 1.9.0. Do not edit!
11+# This file has been generated by node2nix 1.11.1. Do not edit!
2233{pkgs ? import <nixpkgs> {
44 inherit system;
···120120 license = licenses.asl20;
121121 maintainers = with maintainers; [ andrew-d ];
122122 platforms = [ "x86_64-linux" ];
123123+ # The version we have right now does not compile with go 1.17
124124+ # See https://github.com/NixOS/nixpkgs/pull/174003 if you want to upgrade gvisor
125125+ broken = true;
123126 };
124127}
-282
pkgs/development/compilers/go/1.16.nix
···11-{ lib
22-, stdenv
33-, fetchurl
44-, tzdata
55-, iana-etc
66-, runCommand
77-, perl
88-, which
99-, pkg-config
1010-, procps
1111-, pcre
1212-, cacert
1313-, Security
1414-, Foundation
1515-, xcbuild
1616-, mailcap
1717-, runtimeShell
1818-, buildPackages
1919-, pkgsBuildTarget
2020-, callPackage
2121-}:
2222-2323-let
2424- go_bootstrap = buildPackages.callPackage ./bootstrap.nix { };
2525-2626- goBootstrap = runCommand "go-bootstrap" { } ''
2727- mkdir $out
2828- cp -rf ${go_bootstrap}/* $out/
2929- chmod -R u+w $out
3030- find $out -name "*.c" -delete
3131- cp -rf $out/bin/* $out/share/go/bin/
3232- '';
3333-3434- goarch = platform: {
3535- "i686" = "386";
3636- "x86_64" = "amd64";
3737- "aarch64" = "arm64";
3838- "arm" = "arm";
3939- "armv5tel" = "arm";
4040- "armv6l" = "arm";
4141- "armv7l" = "arm";
4242- "mips" = "mips";
4343- "mipsel" = "mipsle";
4444- "riscv64" = "riscv64";
4545- "s390x" = "s390x";
4646- "powerpc64le" = "ppc64le";
4747- "mips64el" = "mips64le";
4848- }.${platform.parsed.cpu.name} or (throw "Unsupported system: ${platform.parsed.cpu.name}");
4949-5050- # We need a target compiler which is still runnable at build time,
5151- # to handle the cross-building case where build != host == target
5252- targetCC = pkgsBuildTarget.targetPackages.stdenv.cc;
5353-in
5454-5555-stdenv.mkDerivation rec {
5656- pname = "go";
5757- version = "1.16.15";
5858-5959- src = fetchurl {
6060- url = "https://dl.google.com/go/go${version}.src.tar.gz";
6161- sha256 = "sha256-kKCMaJJ54184ZbpRCZjDOmMlXDYImz7CBskS/AVow9M=";
6262- };
6363-6464- # perl is used for testing go vet
6565- nativeBuildInputs = [ perl which pkg-config procps ];
6666- buildInputs = [ cacert pcre ]
6767- ++ lib.optionals stdenv.isLinux [ stdenv.cc.libc.out ]
6868- ++ lib.optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
6969-7070- propagatedBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ];
7171-7272- depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ];
7373-7474- hardeningDisable = [ "all" ];
7575-7676- prePatch = ''
7777- patchShebangs ./ # replace /bin/bash
7878-7979- # This source produces shell script at run time,
8080- # and thus it is not corrected by patchShebangs.
8181- substituteInPlace misc/cgo/testcarchive/carchive_test.go \
8282- --replace '#!/usr/bin/env bash' '#!${runtimeShell}'
8383-8484- # Patch the mimetype database location which is missing on NixOS.
8585- # but also allow static binaries built with NixOS to run outside nix
8686- sed -i 's,\"/etc/mime.types,"${mailcap}/etc/mime.types\"\,\n\t&,' src/mime/type_unix.go
8787-8888- # Disabling the 'os/http/net' tests (they want files not available in
8989- # chroot builds)
9090- rm src/net/{listen,parse}_test.go
9191- rm src/syscall/exec_linux_test.go
9292-9393- # !!! substituteInPlace does not seems to be effective.
9494- # The os test wants to read files in an existing path. Just don't let it be /usr/bin.
9595- sed -i 's,/usr/bin,'"`pwd`", src/os/os_test.go
9696- sed -i 's,/bin/pwd,'"`type -P pwd`", src/os/os_test.go
9797- # Fails on aarch64
9898- sed -i '/TestFallocate/aif true \{ return\; \}' src/cmd/link/internal/ld/fallocate_test.go
9999- # Skip this test since ssl patches mess it up.
100100- sed -i '/TestLoadSystemCertsLoadColonSeparatedDirs/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
101101- # Disable another PIE test which breaks.
102102- sed -i '/TestTrivialPIE/aif true \{ return\; \}' misc/cgo/testshared/shared_test.go
103103- # Disable the BuildModePie test
104104- sed -i '/TestBuildmodePIE/aif true \{ return\; \}' src/cmd/go/go_test.go
105105- # Disable the unix socket test
106106- sed -i '/TestShutdownUnix/aif true \{ return\; \}' src/net/net_test.go
107107- # Disable the hostname test
108108- sed -i '/TestHostname/aif true \{ return\; \}' src/os/os_test.go
109109- # ParseInLocation fails the test
110110- sed -i '/TestParseInSydney/aif true \{ return\; \}' src/time/format_test.go
111111- # Remove the api check as it never worked
112112- sed -i '/src\/cmd\/api\/run.go/ireturn nil' src/cmd/dist/test.go
113113- # Remove the coverage test as we have removed this utility
114114- sed -i '/TestCoverageWithCgo/aif true \{ return\; \}' src/cmd/go/go_test.go
115115- # Remove the timezone naming test
116116- sed -i '/TestLoadFixed/aif true \{ return\; \}' src/time/time_test.go
117117- # Remove disable setgid test
118118- sed -i '/TestRespectSetgidDir/aif true \{ return\; \}' src/cmd/go/internal/work/build_test.go
119119- # Remove cert tests that conflict with NixOS's cert resolution
120120- sed -i '/TestEnvVars/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
121121- # TestWritevError hangs sometimes
122122- sed -i '/TestWritevError/aif true \{ return\; \}' src/net/writev_test.go
123123- # TestVariousDeadlines fails sometimes
124124- sed -i '/TestVariousDeadlines/aif true \{ return\; \}' src/net/timeout_test.go
125125-126126- sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
127127- sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go
128128-129129- # Disable cgo lookup tests not works, they depend on resolver
130130- rm src/net/cgo_unix_test.go
131131-132132- # prepend the nix path to the zoneinfo files but also leave the original value for static binaries
133133- # that run outside a nix server
134134- sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
135135-136136- '' + lib.optionalString stdenv.isAarch32 ''
137137- echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash
138138- '' + lib.optionalString stdenv.isDarwin ''
139139- substituteInPlace src/race.bash --replace \
140140- "sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
141141- sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
142142- sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
143143- sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
144144-145145- sed -i '/TestChdirAndGetwd/aif true \{ return\; \}' src/os/os_test.go
146146- sed -i '/TestCredentialNoSetGroups/aif true \{ return\; \}' src/os/exec/exec_posix_test.go
147147- sed -i '/TestRead0/aif true \{ return\; \}' src/os/os_test.go
148148- sed -i '/TestSystemRoots/aif true \{ return\; \}' src/crypto/x509/root_darwin_test.go
149149-150150- sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/aif true \{ return\; \}' src/cmd/go/go_test.go
151151- sed -i '/TestBuildDashIInstallsDependencies/aif true \{ return\; \}' src/cmd/go/go_test.go
152152-153153- sed -i '/TestDisasmExtld/aif true \{ return\; \}' src/cmd/objdump/objdump_test.go
154154-155155- sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
156156-157157- # TestCurrent fails because Current is not implemented on Darwin
158158- sed -i 's/TestCurrent/testCurrent/g' src/os/user/user_test.go
159159- sed -i 's/TestLookup/testLookup/g' src/os/user/user_test.go
160160-161161- touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
162162- '';
163163-164164- patches = [
165165- ./remove-tools-1.11.patch
166166- ./ssl-cert-file-1.16.patch
167167- ./remove-test-pie-1.15.patch
168168- ./creds-test.patch
169169- ./go-1.9-skip-flaky-19608.patch
170170- ./go-1.9-skip-flaky-20072.patch
171171- ./skip-chown-tests-1.16.patch
172172- ./skip-external-network-tests-1.16.patch
173173- ./skip-nohup-tests.patch
174174- ./skip-cgo-tests-1.15.patch
175175- ./go_no_vendor_checks-1.16.patch
176176- ] ++ [
177177- # breaks under load: https://github.com/golang/go/issues/25628
178178- (if stdenv.isAarch32
179179- then ./skip-test-extra-files-on-aarch32-1.14.patch
180180- else ./skip-test-extra-files-on-386-1.14.patch)
181181- ];
182182-183183- postPatch = ''
184184- find . -name '*.orig' -exec rm {} ';'
185185- '';
186186-187187- GOOS = stdenv.targetPlatform.parsed.kernel.name;
188188- GOARCH = goarch stdenv.targetPlatform;
189189- # GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
190190- # Go will nevertheless build a for host system that we will copy over in
191191- # the install phase.
192192- GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
193193- GOHOSTARCH = goarch stdenv.buildPlatform;
194194-195195- # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those
196196- # to be different from CC/CXX
197197- CC_FOR_TARGET =
198198- if (stdenv.buildPlatform != stdenv.targetPlatform) then
199199- "${targetCC}/bin/${targetCC.targetPrefix}cc"
200200- else
201201- null;
202202- CXX_FOR_TARGET =
203203- if (stdenv.buildPlatform != stdenv.targetPlatform) then
204204- "${targetCC}/bin/${targetCC.targetPrefix}c++"
205205- else
206206- null;
207207-208208- GOARM = toString (lib.intersectLists [ (stdenv.hostPlatform.parsed.cpu.version or "") ] [ "5" "6" "7" ]);
209209- GO386 = "softfloat"; # from Arch: don't assume sse2 on i686
210210- CGO_ENABLED = 1;
211211- # Hopefully avoids test timeouts on Hydra
212212- GO_TEST_TIMEOUT_SCALE = 3;
213213-214214- # Indicate that we are running on build infrastructure
215215- # Some tests assume things like home directories and users exists
216216- GO_BUILDER_NAME = "nix";
217217-218218- GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
219219-220220- postConfigure = ''
221221- export GOCACHE=$TMPDIR/go-cache
222222- # this is compiled into the binary
223223- export GOROOT_FINAL=$out/share/go
224224-225225- export PATH=$(pwd)/bin:$PATH
226226-227227- ${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) ''
228228- # Independent from host/target, CC should produce code for the building system.
229229- # We only set it when cross-compiling.
230230- export CC=${buildPackages.stdenv.cc}/bin/cc
231231- ''}
232232- ulimit -a
233233- '';
234234-235235- postBuild = ''
236236- (cd src && ./make.bash)
237237- '';
238238-239239- doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
240240-241241- checkPhase = ''
242242- runHook preCheck
243243- (cd src && HOME=$TMPDIR GOCACHE=$TMPDIR/go-cache ./run.bash --no-rebuild)
244244- runHook postCheck
245245- '';
246246-247247- preInstall = ''
248248- rm -r pkg/obj
249249- # Contains the wrong perl shebang when cross compiling,
250250- # since it is not used for anything we can deleted as well.
251251- rm src/regexp/syntax/make_perl_groups.pl
252252- '' + (if (stdenv.buildPlatform != stdenv.hostPlatform) then ''
253253- mv bin/*_*/* bin
254254- rmdir bin/*_*
255255- ${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
256256- rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
257257- ''}
258258- '' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
259259- rm -rf bin/*_*
260260- ${lib.optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
261261- rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
262262- ''}
263263- '' else "");
264264-265265- installPhase = ''
266266- runHook preInstall
267267- mkdir -p $GOROOT_FINAL
268268- cp -a bin pkg src lib misc api doc $GOROOT_FINAL
269269- ln -s $GOROOT_FINAL/bin $out/bin
270270- runHook postInstall
271271- '';
272272-273273- disallowedReferences = [ goBootstrap ];
274274-275275- meta = with lib; {
276276- homepage = "https://go.dev/";
277277- description = "The Go Programming language";
278278- license = licenses.bsd3;
279279- maintainers = teams.golang.members;
280280- platforms = platforms.linux ++ platforms.darwin;
281281- };
282282-}
···3939 meta = with lib; {
4040 description = "An API for interacting with the parts of fonts during the font development process.";
4141 homepage = "https://github.com/robotools/fontParts";
4242- changelog = "https://github.com/robotools/fontParts/releases/tag/v${version}";
4242+ changelog = "https://github.com/robotools/fontParts/releases/tag/${version}";
4343 license = licenses.mit;
4444 maintainers = [ maintainers.sternenseemann ];
4545 };
···3030 description = "A high-performance, POSIX-ish Amazon S3 file system written in Go.";
3131 license = [ lib.licenses.mit ];
3232 maintainers = [ lib.maintainers.adisbladis ];
3333- broken = stdenv.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042
3333+ # does not build with go 1.17
3434+ broken = true;
3435 };
35363637}
···2233buildGoModule rec {
44 pname = "obfs4";
55- version = "0.0.11";
55+ version = "0.0.12";
6677 src = fetchgit {
88 url = "https://git.torproject.org/pluggable-transports/obfs4.git";
99- rev = "refs/tags/${pname}proxy-${version}";
1010- sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g=";
99+ rev = "a564bc3840bc788605e1a8155f4b95ce0d70c6db"; # not tagged
1010+ sha256 = "0hqk540q94sh4wvm31jjcvpdklhf8r35in4yii7xnfn58a7amfkc";
1111 };
12121313- vendorSha256 = "sha256-xGCK8biTYcrmKbsl6ZyCjpRrVP9x5xGrC3VcMsR7ETo=";
1313+ vendorSha256 = "0yjanv5piygffpdfysviijl7cql2k0r05bsxnlj4hbamsriz9xqy";
14141515 meta = with lib; {
1616 description = "A pluggable transport proxy";
+1
pkgs/top-level/aliases.nix
···905905 nmap-graphical = throw "nmap graphical support has been removed due to its python2 dependency"; # Added 2022-04-26
906906 nmap_graphical = throw "nmap graphical support has been removed due to its python2 dependency"; # Modified 2022-04-26
907907 nologin = throw "'nologin' has been renamed to/replaced by 'shadow'"; # Converted to throw 2022-02-22
908908+ nomad_1_1 = throw "nomad_1_1 has been removed because it's outdated. Use a a newer version instead"; # Added 2022-05-22
908909 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # Added 2021-05-27
909910 noto-fonts-cjk = noto-fonts-cjk-sans; # Added 2021-12-16
910911 nottetris2 = throw "nottetris2 was removed because it is unmaintained by upstream and broken"; # Added 2022-01-15