···10, rev-prefix ? ""
11, odd-unstable ? false
12, patchlevel-unstable ? false
13-# explicit url is useful when git protocol is used only for tags listing
14-# while actual release is referred by tarball
15, url ? null
16}:
17
···10, rev-prefix ? ""
11, odd-unstable ? false
12, patchlevel-unstable ? false
13+# an explicit url is needed when src.meta.homepage or src.url don't
14+# point to a git repo (eg. when using fetchurl, fetchzip, ...)
15, url ? null
16}:
17
+1-1
pkgs/common-updater/scripts/list-git-tags
···31# By default we set url to src.url or src.meta.homepage
32if [[ -z "$url" ]]; then
33 url="$(nix-instantiate $systemArg --eval -E \
34- "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.url or $UPDATE_NIX_ATTR_PATH.src.meta.homepage" \
35 | tr -d '"')"
36fi
37
···31# By default we set url to src.url or src.meta.homepage
32if [[ -z "$url" ]]; then
33 url="$(nix-instantiate $systemArg --eval -E \
34+ "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.meta.homepage or $UPDATE_NIX_ATTR_PATH.src.url" \
35 | tr -d '"')"
36fi
37
···1617 patches = [
18 ./proc_path.diff # TODO: upstream to OpenSMTPD, see https://github.com/NixOS/nixpkgs/issues/54045
019 ];
2021 # See https://github.com/OpenSMTPD/OpenSMTPD/issues/885 for the `sh bootstrap`
···1617 patches = [
18 ./proc_path.diff # TODO: upstream to OpenSMTPD, see https://github.com/NixOS/nixpkgs/issues/54045
19+ ./cross_fix.diff # TODO: remove when https://github.com/OpenSMTPD/OpenSMTPD/pull/1177 will have made it into a release
20 ];
2122 # See https://github.com/OpenSMTPD/OpenSMTPD/issues/885 for the `sh bootstrap`
···225226 perl `type -P mktexlsr.pl` --sort ./share/texmf
227 ${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin
228- perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose
229 #${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin # do we need to regenerate format links?
230231 # Disable unavailable map files
232 echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
233 # Regenerate the map files (this is optional)
234 perl `type -P updmap.pl` --sys --force
000235236 perl `type -P mktexlsr.pl` --sort ./share/texmf-* # to make sure
237 '' +
···299 )
300 fi
301 ''
302- + bin.cleanBrokenLinks
00000303 ;
304}).overrideAttrs (_: { allowSubstitutes = true; })
305# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
···225226 perl `type -P mktexlsr.pl` --sort ./share/texmf
227 ${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin
228+ FORCE_SOURCE_DATE=1 perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose
229 #${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin # do we need to regenerate format links?
230231 # Disable unavailable map files
232 echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force
233 # Regenerate the map files (this is optional)
234 perl `type -P updmap.pl` --sys --force
235+236+ # sort entries to improve reproducibility
237+ [[ -f "$TEXMFSYSCONFIG"/web2c/updmap.cfg ]] && sort -o "$TEXMFSYSCONFIG"/web2c/updmap.cfg "$TEXMFSYSCONFIG"/web2c/updmap.cfg
238239 perl `type -P mktexlsr.pl` --sort ./share/texmf-* # to make sure
240 '' +
···302 )
303 fi
304 ''
305+ + bin.cleanBrokenLinks +
306+ # Get rid of all log files. They are not needed, but take up space
307+ # and render the build unreproducible by their embedded timestamps.
308+ ''
309+ find $TEXMFSYSVAR/web2c -name '*.log' -delete
310+ ''
311 ;
312}).overrideAttrs (_: { allowSubstitutes = true; })
313# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
+5
pkgs/top-level/aliases.nix
···74 amuleGui = throw "amuleGui was renamed to amule-gui"; # Added 2022-02-11
75 amsn = throw "amsn has been removed due to being unmaintained"; # Added 2020-12-09
76 angelfish = libsForQt5.plasmaMobileGear.angelfish; # Added 2021-10-06
00077 antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06
78 antimicroX = antimicrox; # Added 2021-10-31
79 ardour_5 = throw "ardour_5 has been removed. see https://github.com/NixOS/nixpkgs/issues/139549"; # Added 2021-09-28
···649 libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21
650 libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22
651 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14
0652 libjpeg_drop = libjpeg_original; # Added 2020-06-05
653 libjson_rpc_cpp = throw "'libjson_rpc_cpp' has been renamed to/replaced by 'libjson-rpc-cpp'"; # Converted to throw 2022-02-22
654 libkml = throw "libkml has been removed from nixpkgs, as it's abandoned and no package needed it"; # Added 2021-11-09
···1363 winpdb = throw "winpdb has been removed: abandoned by upstream"; # Added 2022-04-22
1364 winusb = throw "'winusb' has been renamed to/replaced by 'woeusb'"; # Converted to throw 2022-02-22
1365 wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22
01366 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
13671368 ### X ###
···74 amuleGui = throw "amuleGui was renamed to amule-gui"; # Added 2022-02-11
75 amsn = throw "amsn has been removed due to being unmaintained"; # Added 2020-12-09
76 angelfish = libsForQt5.plasmaMobileGear.angelfish; # Added 2021-10-06
77+ ansible_2_11 = throw "Ansible 2.11 goes end of life in 2022/11 and can't be supported throughout the 22.05 release cycle"; # Added 2022-03-30
78+ ansible_2_10 = throw "Ansible 2.10 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30
79+ ansible_2_9 = throw "Ansible 2.9 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30
80 antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06
81 antimicroX = antimicrox; # Added 2021-10-31
82 ardour_5 = throw "ardour_5 has been removed. see https://github.com/NixOS/nixpkgs/issues/139549"; # Added 2021-09-28
···652 libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21
653 libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22
654 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14
655+ libixp_hg = libixp;
656 libjpeg_drop = libjpeg_original; # Added 2020-06-05
657 libjson_rpc_cpp = throw "'libjson_rpc_cpp' has been renamed to/replaced by 'libjson-rpc-cpp'"; # Converted to throw 2022-02-22
658 libkml = throw "libkml has been removed from nixpkgs, as it's abandoned and no package needed it"; # Added 2021-11-09
···1367 winpdb = throw "winpdb has been removed: abandoned by upstream"; # Added 2022-04-22
1368 winusb = throw "'winusb' has been renamed to/replaced by 'woeusb'"; # Converted to throw 2022-02-22
1369 wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22
1370+ wmii_hg = wmii;
1371 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
13721373 ### X ###
···3435mapAliases ({
36 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
037 anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
38 asyncio-nats-client = nats-py; # added 2022-02-08
39 bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
···3435mapAliases ({
36 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
37+ ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
38 anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
39 asyncio-nats-client = nats-py; # added 2022-02-08
40 bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15