···44 # CMake is just used for finding doctest.
45 dontUseCmakeConfigure = true;
46000047 doCheck = true;
4849 meta = with lib; {
···44 # CMake is just used for finding doctest.
45 dontUseCmakeConfigure = true;
4647+ mesonFlags = [
48+ (lib.mesonEnable "tests" (stdenv.buildPlatform.canExecute stdenv.hostPlatform))
49+ ];
50+51 doCheck = true;
5253 meta = with lib; {
+2-4
pkgs/build-support/cc-wrapper/default.nix
···17, isGNU ? false, isClang ? cc.isClang or false, isCcache ? cc.isCcache or false, gnugrep ? null
18, buildPackages ? {}
19, libcxx ? null
20-, grossHackForStagingNext ? false
2122# Whether or not to add `-B` and `-L` to `nix-support/cc-{c,ld}flags`
23, useCcForLibs ?
···5253# the derivation at which the `-B` and `-L` flags added by `useCcForLibs` will point
54, gccForLibs ? if useCcForLibs then cc else null
55-, tmpDropB ? false # temporary hack; see PR #225846
56}:
5758with lib;
···336 ##
337 ## GCC libs for non-GCC support
338 ##
339- + optionalString (useGccForLibs && !tmpDropB) ''
340341 echo "-B${gccForLibs}/lib/gcc/${targetPlatform.config}/${gccForLibs.version}" >> $out/nix-support/cc-cflags
342 ''
···415 # already knows how to find its own libstdc++, and adding
416 # additional -isystem flags will confuse gfortran (see
417 # https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1500550903)
418- + optionalString (libcxx == null && (if grossHackForStagingNext then isClang else true) && (useGccForLibs && gccForLibs.langCC or false)) ''
419 for dir in ${gccForLibs}${lib.optionalString (hostPlatform != targetPlatform) "/${targetPlatform.config}"}/include/c++/*; do
420 echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags
421 done
···17, isGNU ? false, isClang ? cc.isClang or false, isCcache ? cc.isCcache or false, gnugrep ? null
18, buildPackages ? {}
19, libcxx ? null
02021# Whether or not to add `-B` and `-L` to `nix-support/cc-{c,ld}flags`
22, useCcForLibs ?
···5152# the derivation at which the `-B` and `-L` flags added by `useCcForLibs` will point
53, gccForLibs ? if useCcForLibs then cc else null
054}:
5556with lib;
···334 ##
335 ## GCC libs for non-GCC support
336 ##
337+ + optionalString (useGccForLibs && isClang) ''
338339 echo "-B${gccForLibs}/lib/gcc/${targetPlatform.config}/${gccForLibs.version}" >> $out/nix-support/cc-cflags
340 ''
···413 # already knows how to find its own libstdc++, and adding
414 # additional -isystem flags will confuse gfortran (see
415 # https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1500550903)
416+ + optionalString (libcxx == null && isClang && (useGccForLibs && gccForLibs.langCC or false)) ''
417 for dir in ${gccForLibs}${lib.optionalString (hostPlatform != targetPlatform) "/${targetPlatform.config}"}/include/c++/*; do
418 echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags
419 done
+15-5
pkgs/build-support/setup-hooks/auto-patchelf.py
···167 found: bool = False # Whether it was found somewhere
168169170-def auto_patchelf_file(path: Path, runtime_deps: list[Path]) -> list[Dependency]:
171 try:
172 with open_elf(path) as elf:
173···235 dependencies.append(Dependency(path, dep, False))
236 print(f" {dep} -> not found!")
23700238 # Dedup the rpath
239 rpath_str = ":".join(dict.fromkeys(map(Path.as_posix, rpath)))
240···251 paths_to_patch: List[Path],
252 lib_dirs: List[Path],
253 runtime_deps: List[Path],
254- recursive: bool =True,
255- ignore_missing: List[str] = []) -> None:
0256257 if not paths_to_patch:
258 sys.exit("No paths to patch, stopping.")
···265 dependencies = []
266 for path in chain.from_iterable(glob(p, '*', recursive) for p in paths_to_patch):
267 if not path.is_symlink() and path.is_file():
268- dependencies += auto_patchelf_file(path, runtime_deps)
269270 missing = [dep for dep in dependencies if not dep.found]
271···312 parser.add_argument(
313 "--runtime-dependencies", nargs="*", type=Path,
314 help="Paths to prepend to the runtime path of executable binaries.")
000000315316 print("automatically fixing dependencies for ELF files")
317 args = parser.parse_args()
···322 args.libs,
323 args.runtime_dependencies,
324 args.recursive,
325- args.ignore_missing)
0326327328interpreter_path: Path = None # type: ignore
···167 found: bool = False # Whether it was found somewhere
168169170+def auto_patchelf_file(path: Path, runtime_deps: list[Path], append_rpaths: List[Path] = []) -> list[Dependency]:
171 try:
172 with open_elf(path) as elf:
173···235 dependencies.append(Dependency(path, dep, False))
236 print(f" {dep} -> not found!")
237238+ rpath.extend(append_rpaths)
239+240 # Dedup the rpath
241 rpath_str = ":".join(dict.fromkeys(map(Path.as_posix, rpath)))
242···253 paths_to_patch: List[Path],
254 lib_dirs: List[Path],
255 runtime_deps: List[Path],
256+ recursive: bool = True,
257+ ignore_missing: List[str] = [],
258+ append_rpaths: List[Path] = []) -> None:
259260 if not paths_to_patch:
261 sys.exit("No paths to patch, stopping.")
···268 dependencies = []
269 for path in chain.from_iterable(glob(p, '*', recursive) for p in paths_to_patch):
270 if not path.is_symlink() and path.is_file():
271+ dependencies += auto_patchelf_file(path, runtime_deps, append_rpaths)
272273 missing = [dep for dep in dependencies if not dep.found]
274···315 parser.add_argument(
316 "--runtime-dependencies", nargs="*", type=Path,
317 help="Paths to prepend to the runtime path of executable binaries.")
318+ parser.add_argument(
319+ "--append-rpaths",
320+ nargs="*",
321+ type=Path,
322+ help="Paths to append to all runtime paths unconditionally",
323+ )
324325 print("automatically fixing dependencies for ELF files")
326 args = parser.parse_args()
···331 args.libs,
332 args.runtime_dependencies,
333 args.recursive,
334+ args.ignore_missing,
335+ append_rpaths=args.append_rpaths)
336337338interpreter_path: Path = None # type: ignore
+3-1
pkgs/build-support/setup-hooks/auto-patchelf.sh
···61 ignoreMissingDepsArray=( "*" )
62 fi
63064 local runtimeDependenciesArray=($runtimeDependencies)
65 @pythonInterpreter@ @autoPatchelfScript@ \
66 ${norecurse:+--no-recurse} \
···68 --paths "$@" \
69 --libs "${autoPatchelfLibs[@]}" \
70 "${extraAutoPatchelfLibs[@]}" \
71- --runtime-dependencies "${runtimeDependenciesArray[@]/%//lib}"
072}
7374# XXX: This should ultimately use fixupOutputHooks but we currently don't have
···61 ignoreMissingDepsArray=( "*" )
62 fi
6364+ local appendRunpathsArray=($appendRunpaths)
65 local runtimeDependenciesArray=($runtimeDependencies)
66 @pythonInterpreter@ @autoPatchelfScript@ \
67 ${norecurse:+--no-recurse} \
···69 --paths "$@" \
70 --libs "${autoPatchelfLibs[@]}" \
71 "${extraAutoPatchelfLibs[@]}" \
72+ --runtime-dependencies "${runtimeDependenciesArray[@]/%//lib}" \
73+ --append-rpaths "${appendRunpathsArray[@]}"
74}
7576# XXX: This should ultimately use fixupOutputHooks but we currently don't have
+2-2
pkgs/build-support/setup-hooks/strip.sh
···39 if [[ "${dontStrip-}" || "${flag-}" ]] || ! type -f "${stripCmd-}" 2>/dev/null 1>&2
40 then continue; fi
4142- stripDirs "$stripCmd" "$ranlibCmd" "$debugDirList" "${stripDebugFlags[*]:--S}"
43- stripDirs "$stripCmd" "$ranlibCmd" "$allDirList" "${stripAllFlags[*]:--s}"
44 done
45}
46
···39 if [[ "${dontStrip-}" || "${flag-}" ]] || ! type -f "${stripCmd-}" 2>/dev/null 1>&2
40 then continue; fi
4142+ stripDirs "$stripCmd" "$ranlibCmd" "$debugDirList" "${stripDebugFlags[*]:--S -p}"
43+ stripDirs "$stripCmd" "$ranlibCmd" "$allDirList" "${stripAllFlags[*]:--s -p}"
44 done
45}
46
···262 fi
263264 # Get rid of some "fixed" header files
265- rm -rfv $out/lib/gcc/*/*/include-fixed/{root,linux,sys/mount.h}
266267 # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks.
268 for i in $out/bin/*-gcc*; do
···262 fi
263264 # Get rid of some "fixed" header files
265+ rm -rfv $out/lib/gcc/*/*/include-fixed/{root,linux,sys/mount.h,bits/statx.h}
266267 # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks.
268 for i in $out/bin/*-gcc*; do
···1-{ stdenv, lib, fetchurl, fetchpatch, libiconv, xz, bash }:
0023# Note: this package is used for bootstrapping fetchurl, and thus
4# cannot use fetchpatch! All mutable patches (generated by GitHub or
···45 '' + lib.optionalString stdenv.hostPlatform.isCygwin ''
46 sed -i -e "s/\(cldr_plurals_LDADD = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
47 sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
0000000048 '';
4950 strictDeps = true;
···1+{ stdenv, lib, fetchurl, fetchpatch, libiconv, xz, bash
2+, gnulib
3+}:
45# Note: this package is used for bootstrapping fetchurl, and thus
6# cannot use fetchpatch! All mutable patches (generated by GitHub or
···47 '' + lib.optionalString stdenv.hostPlatform.isCygwin ''
48 sed -i -e "s/\(cldr_plurals_LDADD = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
49 sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
50+ '' +
51+ # This change to gettext's vendored copy of gnulib is already
52+ # merged upstream; we can drop this patch on the next version
53+ # bump. It must be applied twice because gettext vendors gnulib
54+ # not once, but twice!
55+ ''
56+ patch -p2 -d gettext-tools/gnulib-lib/ < ${gnulib.passthru.longdouble-redirect-patch}
57+ patch -p2 -d gettext-tools/libgrep/ < ${gnulib.passthru.longdouble-redirect-patch}
58 '';
5960 strictDeps = true;
+7
pkgs/development/libraries/glibc/default.nix
···63 # Same for musl: https://github.com/NixOS/nixpkgs/issues/78805
64 "-Wno-error=missing-attributes"
65 ])
000000066 ]);
67 };
68
···63 # Same for musl: https://github.com/NixOS/nixpkgs/issues/78805
64 "-Wno-error=missing-attributes"
65 ])
66+ (lib.optionals (stdenv.hostPlatform.isPower64) [
67+ # Do not complain about the Processor Specific ABI (i.e. the
68+ # choice to use IEEE-standard `long double`). We pass this
69+ # flag in order to mute a `-Werror=psabi` passed by glibc;
70+ # hopefully future glibc releases will not pass that flag.
71+ "-Wno-error=psabi"
72+ ])
73 ]);
74 };
75
+5-5
pkgs/development/libraries/gnu-config/default.nix
···1{ lib, stdenv, fetchurl }:
23let
4- rev = "6faca61810d335c7837f320733fe8e15a1431fc2";
56 # Don't use fetchgit as this is needed during Aarch64 bootstrapping
7 configGuess = fetchurl {
8 url = "https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${rev}";
9- sha256 = "06wkkhpbx9slmknr2g7mcd8x3zsdhnmmay25l31h3rkdp1wkq7kx";
10 };
11 configSub = fetchurl {
12 url = "https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=${rev}";
13- sha256 = "1qkph8cqanmgy3s4a18bm1a4vk62i8pf8cy5pc1hkpqwn4g6l0di";
14 };
15in stdenv.mkDerivation {
16 pname = "gnu-config";
17- version = "2021-01-25";
1819 buildCommand = ''
20 mkdir -p $out
···34 # configuration script generated by Autoconf, you may include it under
35 # the same distribution terms that you use for the rest of that
36 # program.
37- maintainers = [ maintainers.dezgeg ];
38 platforms = platforms.all;
39 };
40}
···1{ lib, stdenv, fetchurl }:
23let
4+ rev = "63acb96f92473ceb5e21d873d7c0aee266b3d6d3";
56 # Don't use fetchgit as this is needed during Aarch64 bootstrapping
7 configGuess = fetchurl {
8 url = "https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${rev}";
9+ sha256 = "049qgfh4xjd4fxd7ygm1phd5faqphfvhfcv8dsdldprsp86lf55v";
10 };
11 configSub = fetchurl {
12 url = "https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=${rev}";
13+ sha256 = "1rk30y27mzls49wyfdb5jhzjr08hkxl7xqhnxmhcmkvqlmpsjnxl";
14 };
15in stdenv.mkDerivation {
16 pname = "gnu-config";
17+ version = "2023-01-21";
1819 buildCommand = ''
20 mkdir -p $out
···34 # configuration script generated by Autoconf, you may include it under
35 # the same distribution terms that you use for the rest of that
36 # program.
37+ maintainers = with maintainers; [ dezgeg emilytrau ];
38 platforms = platforms.all;
39 };
40}
···98 ++ lib.optional stdenv.hostPlatform.is32bit "-D_FILE_OFFSET_BITS=64"
99 );
10000101 # prevent tests from being run during the buildPhase
102 makeFlags = [ "tests=" ];
103
···98 ++ lib.optional stdenv.hostPlatform.is32bit "-D_FILE_OFFSET_BITS=64"
99 );
100101+ enableParallelBuilding = true;
102+103 # prevent tests from being run during the buildPhase
104 makeFlags = [ "tests=" ];
105
···1-{ lib, stdenv, fetchurl, buildPackages, perl, coreutils
02, withCryptodev ? false, cryptodev
3, withZlib ? false, zlib
4, enableSSL2 ? false
5, enableSSL3 ? false
6, enableKTLS ? stdenv.isLinux
7, static ? stdenv.hostPlatform.isStatic
8-# Used to avoid cross compiling perl, for example, in darwin bootstrap tools.
9-# This will cause c_rehash to refer to perl via the environment, but otherwise
10-# will produce a perfectly functional openssl binary and library.
11-, withPerl ? stdenv.hostPlatform == stdenv.buildPlatform
12# path to openssl.cnf file. will be placed in $etc/etc/ssl/openssl.cnf to replace the default
13, conf ? null
14, removeReferencesTo
···72 !(stdenv.hostPlatform.useLLVM or false) &&
73 stdenv.cc.isGNU;
7475- nativeBuildInputs = [ perl ]
76 ++ lib.optionals static [ removeReferencesTo ];
77 buildInputs = lib.optional withCryptodev cryptodev
78- # perl is included to allow the interpreter path fixup hook to set the
79- # correct interpreter in c_rehash.
80- ++ lib.optional withPerl perl
81 ++ lib.optional withZlib zlib;
8283 # TODO(@Ericson2314): Improve with mass rebuild
···172173 # 'etc' is a separate output on static builds only.
174 etc=$out
175- '') + lib.optionalString (!stdenv.hostPlatform.isWindows)
176- # Fix bin/c_rehash's perl interpreter line
177- #
178- # - openssl 1_0_2: embeds a reference to buildPackages.perl
179- # - openssl 1_1: emits "#!/usr/bin/env perl"
180- #
181- # In the case of openssl_1_0_2, reset the invalid reference and let the
182- # interpreter hook take care of it.
183- #
184- # In both cases, if withPerl = false, the intepreter line is expected be
185- # "#!/usr/bin/env perl"
186- ''
187- substituteInPlace $out/bin/c_rehash --replace ${buildPackages.perl}/bin/perl "/usr/bin/env perl"
188- '' + ''
189 mkdir -p $bin
190 mv $out/bin $bin/bin
0000000191192 mkdir $dev
193 mv $out/include $dev/
···1+{ lib, stdenv, fetchurl, buildPackages, perl, coreutils, writeShellScript
2+, makeWrapper
3, withCryptodev ? false, cryptodev
4, withZlib ? false, zlib
5, enableSSL2 ? false
6, enableSSL3 ? false
7, enableKTLS ? stdenv.isLinux
8, static ? stdenv.hostPlatform.isStatic
00009# path to openssl.cnf file. will be placed in $etc/etc/ssl/openssl.cnf to replace the default
10, conf ? null
11, removeReferencesTo
···69 !(stdenv.hostPlatform.useLLVM or false) &&
70 stdenv.cc.isGNU;
7172+ nativeBuildInputs = [ makeWrapper perl ]
73 ++ lib.optionals static [ removeReferencesTo ];
74 buildInputs = lib.optional withCryptodev cryptodev
00075 ++ lib.optional withZlib zlib;
7677 # TODO(@Ericson2314): Improve with mass rebuild
···166167 # 'etc' is a separate output on static builds only.
168 etc=$out
169+ '') + ''
0000000000000170 mkdir -p $bin
171 mv $out/bin $bin/bin
172+173+ # c_rehash is a legacy perl script with the same functionality
174+ # as `openssl rehash`
175+ # this wrapper script is created to maintain backwards compatibility without
176+ # depending on perl
177+ makeWrapper $bin/bin/openssl $bin/bin/c_rehash \
178+ --add-flags "rehash"
179180 mkdir $dev
181 mv $out/include $dev/
···1diff --git a/src/daemon/minimal.conf.in b/src/daemon/minimal.conf.in
2-index 6464839a0..05546201f 100644
3--- a/src/daemon/minimal.conf.in
4+++ b/src/daemon/minimal.conf.in
5-@@ -110,7 +110,7 @@ context.modules = [
6 # access.allowed to list an array of paths of allowed
7 # apps.
8 #access.allowed = [
···11 #]
1213 # An array of rejected paths.
14-@@ -298,5 +298,5 @@ context.exec = [
15 # It can be interesting to start another daemon here that listens
16 # on another address with the -a option (eg. -a tcp:4713).
17 #
···19+ #@pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf" }
20 ]
21diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
22-index a948a1b9b..4ece43c6f 100644
23--- a/src/daemon/pipewire.conf.in
24+++ b/src/daemon/pipewire.conf.in
25-@@ -132,7 +132,7 @@ context.modules = [
26 # access.allowed to list an array of paths of allowed
27 # apps.
28 #access.allowed = [
···31 #]
3233 # An array of rejected paths.
34-@@ -246,12 +246,12 @@ context.exec = [
35 # but it is better to start it as a systemd service.
36 # Run the session manager with -h for options.
37 #
38-- @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
39-+ @sm_comment@{ path = "<session_manager_path>" args = "@session_manager_args@" }
040 #
41 # You can optionally start the pulseaudio-server here as well
42- # but it is better to start it as a systemd service.
43 # It can be interesting to start another daemon here that listens
44 # on another address with the -a option (eg. -a tcp:4713).
45 #
46-- @pulse_comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf" }
47-+ @pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf" }
048 ]
···1diff --git a/src/daemon/minimal.conf.in b/src/daemon/minimal.conf.in
2+index 9c885a38f..c474eb45d 100644
3--- a/src/daemon/minimal.conf.in
4+++ b/src/daemon/minimal.conf.in
5+@@ -111,7 +111,7 @@ context.modules = [
6 # access.allowed to list an array of paths of allowed
7 # apps.
8 #access.allowed = [
···11 #]
1213 # An array of rejected paths.
14+@@ -359,5 +359,5 @@ context.exec = [
15 # It can be interesting to start another daemon here that listens
16 # on another address with the -a option (eg. -a tcp:4713).
17 #
···19+ #@pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf" }
20 ]
21diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
22+index 697bf094d..3a7b54ddd 100644
23--- a/src/daemon/pipewire.conf.in
24+++ b/src/daemon/pipewire.conf.in
25+@@ -142,7 +142,7 @@ context.modules = [
26 # access.allowed to list an array of paths of allowed
27 # apps.
28 #access.allowed = [
···31 #]
3233 # An array of rejected paths.
34+@@ -294,7 +294,7 @@ context.exec = [
35 # but it is better to start it as a systemd service.
36 # Run the session manager with -h for options.
37 #
38+- @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@"
39++ @sm_comment@{ path = "<session_manager_path>" args = "@session_manager_args@"
40+ @sm_comment@ condition = [ { exec.session-manager = null } { exec.session-manager = true } ] }
41 #
42 # You can optionally start the pulseaudio-server here as well
43+@@ -302,6 +302,6 @@ context.exec = [
44 # It can be interesting to start another daemon here that listens
45 # on another address with the -a option (eg. -a tcp:4713).
46 #
47+- @pulse_comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf"
48++ @pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf"
49+ @pulse_comment@ condition = [ { exec.pipewire-pulse = null } { exec.pipewire-pulse = true } ] }
50 ]
+2-9
pkgs/development/libraries/pipewire/default.nix
···7374 self = stdenv.mkDerivation rec {
75 pname = "pipewire";
76- version = "0.3.68";
7778 outputs = [
79 "out"
···91 owner = "pipewire";
92 repo = "pipewire";
93 rev = version;
94- sha256 = "sha256-dm+mgtvXJEBjCYMBbiBHZq42ikfsEDaybMzLMPLxBcE=";
95 };
9697 patches = [
···107 ./0090-pipewire-config-template-paths.patch
108 # Place SPA data files in lib output to avoid dependency cycles
109 ./0095-spa-data-dir.patch
110-111- # backport patch fixing no sound in some cases
112- # FIXME: remove for next release
113- (fetchpatch {
114- url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8748c77451ce332dd24549b414200499ede4f184.diff";
115- hash = "sha256-nxWszqLUbO1XS/DWIBYrGpVZFy2c5+E2V9dlBMekShM=";
116- })
117 ];
118119 strictDeps = true;
···1{ lib, stdenv, fetchurl, buildPackages, perl, coreutils, fetchFromGitHub
02, withCryptodev ? false, cryptodev
3, enableSSL2 ? false
4, enableSSL3 ? false
5, static ? stdenv.hostPlatform.isStatic
6-# Used to avoid cross compiling perl, for example, in darwin bootstrap tools.
7-# This will cause c_rehash to refer to perl via the environment, but otherwise
8-# will produce a perfectly functional openssl binary and library.
9-, withPerl ? stdenv.hostPlatform == stdenv.buildPlatform
10, removeReferencesTo
11}:
12···52 !(stdenv.hostPlatform.useLLVM or false) &&
53 stdenv.cc.isGNU;
5455- nativeBuildInputs = [ perl removeReferencesTo ];
56- buildInputs = lib.optional withCryptodev cryptodev
57- # perl is included to allow the interpreter path fixup hook to set the
58- # correct interpreter in c_rehash.
59- ++ lib.optional withPerl perl;
6061 # TODO(@Ericson2314): Improve with mass rebuild
62 configurePlatforms = [];
···140 if [ -n "$(echo $out/lib/*.so $out/lib/*.dylib $out/lib/*.dll)" ]; then
141 rm "$out/lib/"*.a
142 fi
143- '') + lib.optionalString (!stdenv.hostPlatform.isWindows)
144- # Fix bin/c_rehash's perl interpreter line
145- #
146- # - openssl 1_0_2: embeds a reference to buildPackages.perl
147- # - openssl 1_1: emits "#!/usr/bin/env perl"
148- #
149- # In the case of openssl_1_0_2, reset the invalid reference and let the
150- # interpreter hook take care of it.
151- #
152- # In both cases, if withPerl = false, the intepreter line is expected be
153- # "#!/usr/bin/env perl"
154- ''
155- substituteInPlace $out/bin/c_rehash --replace ${buildPackages.perl}/bin/perl "/usr/bin/env perl"
156- '' + ''
157 mkdir -p $bin
158 mv $out/bin $bin/bin
00000000159 mkdir $dev
160 mv $out/include $dev/
161 # remove dependency on Perl at runtime
···1{ lib, stdenv, fetchurl, buildPackages, perl, coreutils, fetchFromGitHub
2+, makeWrapper
3, withCryptodev ? false, cryptodev
4, enableSSL2 ? false
5, enableSSL3 ? false
6, static ? stdenv.hostPlatform.isStatic
00007, removeReferencesTo
8}:
9···49 !(stdenv.hostPlatform.useLLVM or false) &&
50 stdenv.cc.isGNU;
5152+ nativeBuildInputs = [ makeWrapper perl removeReferencesTo ];
53+ buildInputs = lib.optional withCryptodev cryptodev;
0005455 # TODO(@Ericson2314): Improve with mass rebuild
56 configurePlatforms = [];
···134 if [ -n "$(echo $out/lib/*.so $out/lib/*.dylib $out/lib/*.dll)" ]; then
135 rm "$out/lib/"*.a
136 fi
137+ '') + ''
0000000000000138 mkdir -p $bin
139 mv $out/bin $bin/bin
140+141+ # c_rehash is a legacy perl script with the same functionality
142+ # as `openssl rehash`
143+ # this wrapper script is created to maintain backwards compatibility without
144+ # depending on perl
145+ makeWrapper $bin/bin/openssl $bin/bin/c_rehash \
146+ --add-flags "rehash"
147+148 mkdir $dev
149 mv $out/include $dev/
150 # remove dependency on Perl at runtime
···26 # do not change headers to not update all vendored build files
27 dontFixup = true;
280000000000029 meta = with lib; {
30 description = "Central location for code to be shared among GNU packages";
31 homepage = "https://www.gnu.org/software/gnulib/";
···26 # do not change headers to not update all vendored build files
27 dontFixup = true;
2829+ passthru = {
30+ # This patch is used by multiple other packages (currently:
31+ # gnused, gettext) which contain vendored copies of gnulib.
32+ # Without it, compilation will fail with error messages about
33+ # "__LDBL_REDIR1_DECL" or similar on platforms with longdouble
34+ # redirects (currently powerpc64). Once all of those other
35+ # packages make a release with a newer gnulib we can drop this
36+ # patch.
37+ longdouble-redirect-patch = ./gnulib-longdouble-redirect.patch;
38+ };
39+40 meta = with lib; {
41 description = "Central location for code to be shared among GNU packages";
42 homepage = "https://www.gnu.org/software/gnulib/";
···1{ version, sha256, patches ? [] }:
23{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
045# we are a dependency of gcc, this simplifies bootstraping
6, interactive ? false, ncurses, procps
···3031 postPatch = ''
32 patchShebangs tp/maintain
00000033 '';
3435 # ncurses is required to build `makedoc'
···82 license = licenses.gpl3Plus;
83 platforms = platforms.all;
84 maintainers = with maintainers; [ vrthra oxij ];
008586 longDescription = ''
87 Texinfo is the official documentation format of the GNU project.
···1{ version, sha256, patches ? [] }:
23{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
4+, gnulib
56# we are a dependency of gcc, this simplifies bootstraping
7, interactive ? false, ncurses, procps
···3132 postPatch = ''
33 patchShebangs tp/maintain
34+ ''
35+ # This patch is needed for IEEE-standard long doubles on
36+ # powerpc64; it does not apply cleanly to texinfo 5.x or
37+ # earlier. It is merged upstream in texinfo 6.8.
38+ + lib.optionalString (version == "6.7") ''
39+ patch -p1 -d gnulib < ${gnulib.passthru.longdouble-redirect-patch}
40 '';
4142 # ncurses is required to build `makedoc'
···89 license = licenses.gpl3Plus;
90 platforms = platforms.all;
91 maintainers = with maintainers; [ vrthra oxij ];
92+ # see comment above in patches section
93+ broken = stdenv.hostPlatform.isPower64 && lib.strings.versionOlder version "6.0";
9495 longDescription = ''
96 Texinfo is the official documentation format of the GNU project.
···40 "-DENABLE_USDT=ON"
41 "-DENABLE_CPP_API=ON"
42 "-DCMAKE_USE_LIBBPF_PACKAGE=ON"
043 ];
4445 # to replace this executable path:
···40 "-DENABLE_USDT=ON"
41 "-DENABLE_CPP_API=ON"
42 "-DCMAKE_USE_LIBBPF_PACKAGE=ON"
43+ "-DENABLE_LIBDEBUGINFOD=OFF"
44 ];
4546 # to replace this executable path:
+1
pkgs/os-specific/linux/kernel/common-config.nix
···904905 REGULATOR = yes; # Voltage and Current Regulator Support
906 RC_DEVICES = option yes; # Enable IR devices
0907908 RT2800USB_RT53XX = yes;
909 RT2800USB_RT55XX = yes;
···904905 REGULATOR = yes; # Voltage and Current Regulator Support
906 RC_DEVICES = option yes; # Enable IR devices
907+ RC_DECODERS = option yes; # Required for IR devices to work
908909 RT2800USB_RT53XX = yes;
910 RT2800USB_RT55XX = yes;
···91 moveToOutput 'bin/h5pcc' "''${!outputDev}"
92 '';
930000000000000094 passthru.tests = {
95 inherit (python3.pkgs) h5py;
96 };
9798- meta = {
99 description = "Data model, library, and file format for storing and managing data";
100 longDescription = ''
101 HDF5 supports an unlimited variety of datatypes, and is designed for flexible and efficient
···103 applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and
104 applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
105 '';
106- license = lib.licenses.bsd3; # Lawrence Berkeley National Labs BSD 3-Clause variant
0107 homepage = "https://www.hdfgroup.org/HDF5/";
108- platforms = lib.platforms.unix;
109 };
110}
···91 moveToOutput 'bin/h5pcc' "''${!outputDev}"
92 '';
9394+ # Remove reference to /build, which get introduced
95+ # into AM_CPPFLAGS since hdf5-1.14.0. Cmake of various
96+ # packages using HDF5 gets confused trying access the non-existent path.
97+ postFixup = ''
98+ for i in h5cc h5pcc h5c++; do
99+ if [ -f $dev/bin/$i ]; then
100+ substituteInPlace $dev/bin/$i --replace \
101+ '-I/build/hdf5-${version}/src/H5FDsubfiling' ""
102+ fi
103+ done
104+ '';
105+106+ enableParallelBuilding = true;
107+108 passthru.tests = {
109 inherit (python3.pkgs) h5py;
110 };
111112+ meta = with lib; {
113 description = "Data model, library, and file format for storing and managing data";
114 longDescription = ''
115 HDF5 supports an unlimited variety of datatypes, and is designed for flexible and efficient
···117 applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and
118 applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
119 '';
120+ license = licenses.bsd3; # Lawrence Berkeley National Labs BSD 3-Clause variant
121+ maintainers = [ maintainers.markuskowa ];
122 homepage = "https://www.hdfgroup.org/HDF5/";
123+ platforms = platforms.unix;
124 };
125}
···1-From 1c9cc97e9d47d73763810dcb4a36b6cdf31a2254 Mon Sep 17 00:00:00 2001
2-From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
3-Date: Sun, 30 Jun 2019 11:54:35 -0400
4-Subject: [PATCH] dirmngr: Only use SKS pool CA for SKS pool
5-6-* dirmngr/http.c (http_session_new): when checking whether the
7-keyserver is the HKPS pool, check specifically against the pool name,
8-as ./configure might have been used to select a different default
9-keyserver. It makes no sense to apply Kristian's certificate
10-authority to anything other than the literal host
11-hkps.pool.sks-keyservers.net.
12-13-Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
14-GnuPG-Bug-Id: 4593
15----
16- dirmngr/http.c | 2 +-
17- 1 file changed, 1 insertion(+), 1 deletion(-)
18-19-diff --git a/dirmngr/http.c b/dirmngr/http.c
20-index 384f2569d..8e5d53939 100644
21---- a/dirmngr/http.c
22-+++ b/dirmngr/http.c
23-@@ -767,7 +767,7 @@ http_session_new (http_session_t *r_session,
24-25- is_hkps_pool = (intended_hostname
26- && !ascii_strcasecmp (intended_hostname,
27-- get_default_keyserver (1)));
28-+ "hkps.pool.sks-keyservers.net"));
29-30- /* If the user has not specified a CA list, and they are looking
31- * for the hkps pool from sks-keyservers.net, then default to
32---
33-2.22.0
34-
···1+From: Vincent Breitmoser <look@my.amazin.horse>
2+Date: Thu, 13 Jun 2019 21:27:42 +0200
3+Subject: gpg: allow import of previously known keys, even without UIDs
4+5+* g10/import.c (import_one): Accept an incoming OpenPGP certificate that
6+has no user id, as long as we already have a local variant of the cert
7+that matches the primary key.
8+9+--
10+11+This fixes two of the three broken tests in import-incomplete.scm.
12+13+GnuPG-Bug-id: 4393
14+Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
15+---
16+ g10/import.c | 44 +++++++++++---------------------------------
17+ 1 file changed, 11 insertions(+), 33 deletions(-)
18+19+20+diff --git a/g10/import.c b/g10/import.c
21+index 9fab46ca6..61896a6bf 100644
22+--- a/g10/import.c
23++++ b/g10/import.c
24+@@ -1954,7 +1954,6 @@ import_one_real (ctrl_t ctrl,
25+ size_t an;
26+ char pkstrbuf[PUBKEY_STRING_SIZE];
27+ int merge_keys_done = 0;
28+- int any_filter = 0;
29+ KEYDB_HANDLE hd = NULL;
30+31+ if (r_valid)
32+@@ -1992,13 +1991,6 @@ import_one_real (ctrl_t ctrl,
33+ }
34+35+36+- if (!uidnode)
37+- {
38+- if (!silent)
39+- log_error( _("key %s: no user ID\n"), keystr_from_pk(pk));
40+- return 0;
41+- }
42+-
43+ if (screener && screener (keyblock, screener_arg))
44+ {
45+ log_error (_("key %s: %s\n"), keystr_from_pk (pk),
46+@@ -2078,18 +2070,10 @@ import_one_real (ctrl_t ctrl,
47+ }
48+ }
49+50+- /* Delete invalid parts and bail out if there are no user ids left. */
51+- if (!delete_inv_parts (ctrl, keyblock, keyid, options, otherrevsigs))
52+- {
53+- if (!silent)
54+- {
55+- log_error ( _("key %s: no valid user IDs\n"), keystr_from_pk(pk));
56+- if (!opt.quiet)
57+- log_info(_("this may be caused by a missing self-signature\n"));
58+- }
59+- stats->no_user_id++;
60+- return 0;
61+- }
62++ /* Delete invalid parts, and note if we have any valid ones left.
63++ * We will later abort import if this key is new but contains
64++ * no valid uids. */
65++ delete_inv_parts (ctrl, keyblock, keyid, options, otherrevsigs);
66+67+ /* Get rid of deleted nodes. */
68+ commit_kbnode (&keyblock);
69+@@ -2099,24 +2083,11 @@ import_one_real (ctrl_t ctrl,
70+ {
71+ apply_keep_uid_filter (ctrl, keyblock, import_filter.keep_uid);
72+ commit_kbnode (&keyblock);
73+- any_filter = 1;
74+ }
75+ if (import_filter.drop_sig)
76+ {
77+ apply_drop_sig_filter (ctrl, keyblock, import_filter.drop_sig);
78+ commit_kbnode (&keyblock);
79+- any_filter = 1;
80+- }
81+-
82+- /* If we ran any filter we need to check that at least one user id
83+- * is left in the keyring. Note that we do not use log_error in
84+- * this case. */
85+- if (any_filter && !any_uid_left (keyblock))
86+- {
87+- if (!opt.quiet )
88+- log_info ( _("key %s: no valid user IDs\n"), keystr_from_pk (pk));
89+- stats->no_user_id++;
90+- return 0;
91+ }
92+93+ /* The keyblock is valid and ready for real import. */
94+@@ -2174,6 +2145,13 @@ import_one_real (ctrl_t ctrl,
95+ err = 0;
96+ stats->skipped_new_keys++;
97+ }
98++ else if (err && !any_uid_left (keyblock))
99++ {
100++ if (!silent)
101++ log_info( _("key %s: new key but contains no user ID - skipped\n"), keystr(keyid));
102++ err = 0;
103++ stats->no_user_id++;
104++ }
105+ else if (err) /* Insert this key. */
106+ {
107+ /* Note: ERR can only be NO_PUBKEY or UNUSABLE_PUBKEY. */
···16 g10/import.c | 44 +++++++++++---------------------------------
17 1 file changed, 11 insertions(+), 33 deletions(-)
18019diff --git a/g10/import.c b/g10/import.c
20-index 5d3162c..f9acf95 100644
21--- a/g10/import.c
22+++ b/g10/import.c
23-@@ -1788,7 +1788,6 @@ import_one_real (ctrl_t ctrl,
24 size_t an;
25 char pkstrbuf[PUBKEY_STRING_SIZE];
26 int merge_keys_done = 0;
···28 KEYDB_HANDLE hd = NULL;
2930 if (r_valid)
31-@@ -1825,14 +1824,6 @@ import_one_real (ctrl_t ctrl,
32- log_printf ("\n");
33 }
3435--
36-- if (!uidnode)
37- {
38- if (!silent)
39- log_error( _("key %s: no user ID\n"), keystr_from_pk(pk));
···43 if (screener && screener (keyblock, screener_arg))
44 {
45 log_error (_("key %s: %s\n"), keystr_from_pk (pk),
46-@@ -1907,18 +1898,10 @@ import_one_real (ctrl_t ctrl,
47 }
48 }
4950- /* Delete invalid parts and bail out if there are no user ids left. */
51-- if (!delete_inv_parts (ctrl, keyblock, keyid, options))
52- {
53- if (!silent)
54- {
55-- log_error ( _("key %s: no valid user IDs\n"), keystr_from_pk(pk));
56-- if (!opt.quiet)
57- log_info(_("this may be caused by a missing self-signature\n"));
58- }
59- stats->no_user_id++;
···62+ /* Delete invalid parts, and note if we have any valid ones left.
63+ * We will later abort import if this key is new but contains
64+ * no valid uids. */
65-+ delete_inv_parts (ctrl, keyblock, keyid, options);
6667 /* Get rid of deleted nodes. */
68 commit_kbnode (&keyblock);
69-@@ -1927,24 +1911,11 @@ import_one_real (ctrl_t ctrl,
70 {
71 apply_keep_uid_filter (ctrl, keyblock, import_filter.keep_uid);
72 commit_kbnode (&keyblock);
···91 }
9293 /* The keyblock is valid and ready for real import. */
94-@@ -2002,6 +1973,13 @@ import_one_real (ctrl_t ctrl,
95 err = 0;
96 stats->skipped_new_keys++;
97 }
···16 g10/import.c | 44 +++++++++++---------------------------------
17 1 file changed, 11 insertions(+), 33 deletions(-)
1819+20diff --git a/g10/import.c b/g10/import.c
21+index cd3363fc7..8f10771db 100644
22--- a/g10/import.c
23+++ b/g10/import.c
24+@@ -1858,7 +1858,6 @@ import_one_real (ctrl_t ctrl,
25 size_t an;
26 char pkstrbuf[PUBKEY_STRING_SIZE];
27 int merge_keys_done = 0;
···29 KEYDB_HANDLE hd = NULL;
3031 if (r_valid)
32+@@ -1896,13 +1895,6 @@ import_one_real (ctrl_t ctrl,
033 }
3435+36+- if (!uidnode )
37- {
38- if (!silent)
39- log_error( _("key %s: no user ID\n"), keystr_from_pk(pk));
···43 if (screener && screener (keyblock, screener_arg))
44 {
45 log_error (_("key %s: %s\n"), keystr_from_pk (pk),
46+@@ -1977,18 +1969,10 @@ import_one_real (ctrl_t ctrl,
47 }
48 }
4950- /* Delete invalid parts and bail out if there are no user ids left. */
51+- if (!delete_inv_parts (ctrl, keyblock, keyid, options, otherrevsigs))
52- {
53- if (!silent)
54- {
55+- log_error( _("key %s: no valid user IDs\n"), keystr_from_pk(pk));
56+- if (!opt.quiet )
57- log_info(_("this may be caused by a missing self-signature\n"));
58- }
59- stats->no_user_id++;
···62+ /* Delete invalid parts, and note if we have any valid ones left.
63+ * We will later abort import if this key is new but contains
64+ * no valid uids. */
65++ delete_inv_parts (ctrl, keyblock, keyid, options, otherrevsigs);
6667 /* Get rid of deleted nodes. */
68 commit_kbnode (&keyblock);
69+@@ -1998,24 +1982,11 @@ import_one_real (ctrl_t ctrl,
70 {
71 apply_keep_uid_filter (ctrl, keyblock, import_filter.keep_uid);
72 commit_kbnode (&keyblock);
···91 }
9293 /* The keyblock is valid and ready for real import. */
94+@@ -2073,6 +2044,13 @@ import_one_real (ctrl_t ctrl,
95 err = 0;
96 stats->skipped_new_keys++;
97 }
+36-6
pkgs/tools/typesetting/tex/texlive/bin.nix
···38 # http://mirrors.ctan.org/systems/doc/kpathsea/kpathsea.pdf for more
39 # details
40 sed -i '/^#define ST_NLINK_TRICK/d' texk/kpathsea/config.h
41- '';
0000004243 configureFlags = [
44 "--with-banner-add=/nixos.org"
···7576 inherit (common) src prePatch;
7778- outputs = [ "out" "doc" ];
7980 nativeBuildInputs = [
81 pkg-config
82- ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
83 # configure: error: tangle was not found but is required when cross-compiling.
084 texlive.bin.core
085 ];
8687 buildInputs = [
···159 mv "$out"/share/{man,info} "$doc"/doc
160 '' + /* remove manpages for utils that live in texlive.texlive-scripts to avoid a conflict in buildEnv */ ''
161 (cd "$doc"/doc/man/man1; rm {fmtutil-sys.1,fmtutil.1,mktexfmt.1,mktexmf.1,mktexpk.1,mktextfm.1,texhash.1,updmap-sys.1,updmap.1})
000162 '' + cleanBrokenLinks;
163164 setupHook = ./setup-hook.sh; # TODO: maybe texmf-nix -> texmf (and all references)
···195196 hardeningDisable = [ "format" ];
197198- inherit (core) nativeBuildInputs;
199 buildInputs = core.buildInputs ++ [ core cairo harfbuzz icu graphite2 libX11 ];
200201 configureFlags = common.configureFlags
···210 # we use static libtexlua, because it's only used by a single binary
211 postConfigure = let
212 luajit = lib.optionalString withLuaJIT ",luajit";
213- in ''
00000000214 mkdir ./WorkDir && cd ./WorkDir
215 for path in libs/{pplib,teckit,lua53${luajit}} texk/web2c; do
216 (
···219 else
220 extraConfig=""
221 fi
222-00000000000223 mkdir -p "$path" && cd "$path"
224 "../../../$path/configure" $configureFlags $extraConfig
225
···38 # http://mirrors.ctan.org/systems/doc/kpathsea/kpathsea.pdf for more
39 # details
40 sed -i '/^#define ST_NLINK_TRICK/d' texk/kpathsea/config.h
41+ '' +
42+ # when cross compiling, we must use himktables from PATH
43+ # (i.e. from buildPackages.texlive.bin.core.dev)
44+ lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
45+ sed -i 's|\./himktables|himktables|' texk/web2c/Makefile.in
46+ ''
47+;
4849 configureFlags = [
50 "--with-banner-add=/nixos.org"
···8182 inherit (common) src prePatch;
8384+ outputs = [ "out" "doc" "dev" ];
8586 nativeBuildInputs = [
87 pkg-config
88+ ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
89 # configure: error: tangle was not found but is required when cross-compiling.
90+ # dev (himktables) is used when building hitex to generate the additional source file hitables.c
91 texlive.bin.core
92+ texlive.bin.core.dev
93 ];
9495 buildInputs = [
···167 mv "$out"/share/{man,info} "$doc"/doc
168 '' + /* remove manpages for utils that live in texlive.texlive-scripts to avoid a conflict in buildEnv */ ''
169 (cd "$doc"/doc/man/man1; rm {fmtutil-sys.1,fmtutil.1,mktexfmt.1,mktexmf.1,mktexpk.1,mktextfm.1,texhash.1,updmap-sys.1,updmap.1})
170+ '' + /* install himktables in separate output for use in cross compilation */ ''
171+ mkdir -p $dev/bin
172+ cp texk/web2c/.libs/himktables $dev/bin/himktables
173 '' + cleanBrokenLinks;
174175 setupHook = ./setup-hook.sh; # TODO: maybe texmf-nix -> texmf (and all references)
···206207 hardeningDisable = [ "format" ];
208209+ inherit (core) nativeBuildInputs depsBuildBuild;
210 buildInputs = core.buildInputs ++ [ core cairo harfbuzz icu graphite2 libX11 ];
211212 configureFlags = common.configureFlags
···221 # we use static libtexlua, because it's only used by a single binary
222 postConfigure = let
223 luajit = lib.optionalString withLuaJIT ",luajit";
224+ in
225+ lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform)
226+ # without this, the native builds attempt to use the binary
227+ # ${target-triple}-gcc, but we need to use the wrapper script.
228+ ''
229+ export BUILDCC=${buildPackages.stdenv.cc}/bin/cc
230+ ''
231+ +
232+ ''
233 mkdir ./WorkDir && cd ./WorkDir
234 for path in libs/{pplib,teckit,lua53${luajit}} texk/web2c; do
235 (
···238 else
239 extraConfig=""
240 fi
241+ '' + lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform)
242+ # results of the tests performed by the configure scripts are
243+ # toolchain-dependent, so native components and cross components cannot use
244+ # the same cached test results.
245+ # Disable the caching for components with native subcomponents.
246+ ''
247+ if [[ "$path" =~ "libs/luajit" ]] || [[ "$path" =~ "texk/web2c" ]]; then
248+ extraConfig="$extraConfig --cache-file=/dev/null"
249+ fi
250+ ''
251+ +
252+ ''
253 mkdir -p "$path" && cd "$path"
254 "../../../$path/configure" $configureFlags $extraConfig
255
+42-48
pkgs/top-level/all-packages.nix
···5882 enableExtraPlugins = true;
5883 };
58845885- asciidoctor = callPackage ../tools/typesetting/asciidoctor {
5886- bundlerApp = bundlerApp.override {
5887- # asciidoc supports both ruby 2 and 3,
5888- # but we don't want to be stuck on it:
5889- ruby = ruby_3_1;
5890- };
5891- };
58925893 asciidoctor-with-extensions = callPackage ../tools/typesetting/asciidoctor-with-extensions { };
5894···7920 gnupg1orig = callPackage ../tools/security/gnupg/1.nix { };
7921 gnupg1compat = callPackage ../tools/security/gnupg/1compat.nix { };
7922 gnupg1 = gnupg1compat; # use config.packageOverrides if you prefer original gnupg1
0000007923 gnupg24 = callPackage ../tools/security/gnupg/24.nix {
7924- guiSupport = stdenv.isDarwin;
7925 pinentry = if stdenv.isDarwin then pinentry_mac else pinentry-gtk2;
7926 };
7927 gnupg = gnupg24;
···8445 hostess = callPackage ../development/tools/hostess { };
84468447 hostname-debian = callPackage ../tools/networking/hostname-debian { };
0084488449 hotpatch = callPackage ../development/libraries/hotpatch { };
8450···1398013981 xxv = callPackage ../tools/misc/xxv { };
1398213983- xvfb-run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
00000000000000001398413985 xvkbd = callPackage ../tools/X11/xvkbd { };
13986···14943 profiledCompiler = false;
14944 });
1494514946- gfortran-tmp-noisystem = wrapCCWith { grossHackForStagingNext = true; cc = (gcc.cc.override {
14947- name = "gfortran";
14948- langFortran = true;
14949- langCC = false;
14950- langC = false;
14951- profiledCompiler = false;
14952- disableBootstrap = false;
14953- }); };
14954-14955 gfortran48 = wrapCC (gcc48.cc.override {
14956 name = "gfortran";
14957 langFortran = true;
···15433 julia_16-bin = callPackage ../development/compilers/julia/1.6-bin.nix { };
15434 julia_18-bin = callPackage ../development/compilers/julia/1.8-bin.nix { };
1543515436- julia_18 = callPackage ../development/compilers/julia/1.8.nix {
15437- gfortran = gfortran-tmp-noisystem;
15438- };
15439- julia_19 = callPackage ../development/compilers/julia/1.9.nix {
15440- gfortran = gfortran-tmp-noisystem;
15441- };
1544215443 julia-lts-bin = julia_16-bin;
15444 julia-stable-bin = julia_18-bin;
···15637 llvmPackages_latest = llvmPackages_14;
1563815639 llvmPackages_rocm = recurseIntoAttrs (callPackage ../development/compilers/llvm/rocm { });
15640-15641- # temporary hack; see PR #225846
15642- stdenv-tmpDropB = overrideCC stdenv (wrapCCWith { tmpDropB = true; inherit (stdenv.cc) cc; });
1564315644 lorri = callPackage ../tools/misc/lorri {
15645 inherit (darwin.apple_sdk.frameworks) CoreServices Security;
···17078 ruby_3_1
17079 ruby_3_2;
1708017081- ruby = ruby_2_7;
17082- rubyPackages = rubyPackages_2_7;
1708317084 rubyPackages_2_7 = recurseIntoAttrs ruby_2_7.gems;
17085 rubyPackages_3_0 = recurseIntoAttrs ruby_3_0.gems;
···2163121632 libgcrypt = callPackage ../development/libraries/libgcrypt { };
2163321634- libgcrypt_1_5 = callPackage ../development/libraries/libgcrypt/1.5.nix { };
2163521636 libgdiplus = callPackage ../development/libraries/libgdiplus {
21637 inherit (darwin.apple_sdk.frameworks) Carbon;
···22659 # Default libGLU
22660 libGLU = mesa_glu;
2266122662- # When a new patch is out, add a new mesa attribute with the exact patch version
22663- # Remove old mesa attributes when they're unused.
22664- # Try to keep the previous version around for a bit in case there are new bugs.
22665- mesa_22_3_7 = darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/22.3.7.nix {
22666 inherit (darwin.apple_sdk_11_0.frameworks) OpenGL;
22667 inherit (darwin.apple_sdk_11_0.libs) Xplugin;
22668 };
22669- mesa_23_0_1 = darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/23.0.1.nix {
22670 inherit (darwin.apple_sdk_11_0.frameworks) OpenGL;
22671 inherit (darwin.apple_sdk_11_0.libs) Xplugin;
22672 };
22673- # Bump this immediately on patches; wait a bit for minor versions
22674- mesa_22 = mesa_22_3_7;
22675- mesa_23 = mesa_23_0_1;
22676- # Bump on staging only, tonnes of packages depend on it.
22677- # See https://github.com/NixOS/nixpkgs/issues/218232
22678- # Major versions should be bumped when they have proven to be reasonably stable
22679- # FIXME: split up libgbm properly
22680- # darwin: deferred until stabilized; e.g. see around:
22681- # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21859
22682- mesa = if stdenv.isDarwin then mesa_22_3_7 else mesa_23_0_1;
2268322684 mesa_glu = callPackage ../development/libraries/mesa-glu {
22685 inherit (darwin.apple_sdk.frameworks) ApplicationServices;
···24711 pkg = callPackage ../development/compilers/sbcl/2.x.nix { version = "2.3.0"; };
24712 faslExt = "fasl";
24713 };
24714- sbcl = sbcl_2_3_0;
00002471524716 sbclPackages = recurseIntoAttrs sbcl.pkgs;
24717···27352 withHomed = false;
27353 withHwdb = false;
27354 withImportd = false;
27355- withKmod = false;
27356 withLibBPF = false;
27357 withLibidn2 = false;
27358 withLocaled = false;
···30070 flwrap = callPackage ../applications/radio/flwrap { stdenv = gcc10StdenvCompat; };
3007130072 fluidsynth = callPackage ../applications/audio/fluidsynth {
30073- inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
30074 };
3007530076 fmit = libsForQt5.callPackage ../applications/audio/fmit { };