nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge branch 'master' into staging-next

+93 -148
+1 -1
doc/stdenv/cross-compilation.chapter.md
··· 250 250 ::: 251 251 252 252 ::: {.note} 253 - If one explores Nixpkgs, they will see derivations with names like `gccCross`. Such `*Cross` derivations is a holdover from before we properly distinguished between the host and target platforms—the derivation with “Cross” in the name covered the `build = host != target` case, while the other covered the `host = target`, with build platform the same or not based on whether one was using its `.nativeDrv` or `.crossDrv`. This ugliness will disappear soon. 253 + If one explores Nixpkgs, they will see derivations with names like `gccCross`. Such `*Cross` derivations is a holdover from before we properly distinguished between the host and target platforms—the derivation with “Cross” in the name covered the `build = host != target` case, while the other covered the `host = target`, with build platform the same or not based on whether one was using its `.__spliced.buildHost` or `.__spliced.hostTarget`. 254 254 :::
+9 -6
lib/customisation.nix
··· 38 38 // 39 39 (drv.passthru or {}) 40 40 // 41 - (if (drv ? crossDrv && drv ? nativeDrv) 42 - then { 43 - crossDrv = overrideDerivation drv.crossDrv f; 44 - nativeDrv = overrideDerivation drv.nativeDrv f; 45 - } 46 - else { })); 41 + # TODO(@Artturin): remove before release 23.05 and only have __spliced. 42 + (lib.optionalAttrs (drv ? crossDrv && drv ? nativeDrv) { 43 + crossDrv = overrideDerivation drv.crossDrv f; 44 + nativeDrv = overrideDerivation drv.nativeDrv f; 45 + }) 46 + // 47 + lib.optionalAttrs (drv ? __spliced) { 48 + __spliced = {} // (lib.mapAttrs (_: sDrv: overrideDerivation sDrv f) drv.__spliced); 49 + }); 47 50 48 51 49 52 /* `makeOverridable` takes a function from attribute set to attribute set and
+2 -2
pkgs/applications/editors/texstudio/default.nix
··· 3 3 4 4 mkDerivation rec { 5 5 pname = "texstudio"; 6 - version = "4.3.1"; 6 + version = "4.4.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "${pname}-org"; 10 10 repo = pname; 11 11 rev = version; 12 - hash = "sha256-CwfnRkG8GsRQuE0+l394gMdj5ao3SUKaDnYP2dfUEew="; 12 + hash = "sha256-BaTfebLilUeDNtCJZmgAx+hN+L+4MtnuL6t3wQRX/Ns="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
+2 -2
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 36 36 , pango 37 37 , pipewire 38 38 , pciutils 39 - , libheimdal 39 + , heimdal 40 40 , libpulseaudio 41 41 , systemd 42 42 , channel ··· 134 134 pango 135 135 pipewire 136 136 pciutils 137 - libheimdal 137 + heimdal 138 138 libpulseaudio 139 139 systemd 140 140 ffmpeg
+3 -3
pkgs/applications/networking/instant-messengers/threema-desktop/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "threema-desktop"; 6 - version = "1.2.13"; 6 + version = "1.2.21"; 7 7 8 8 src = fetchurl { 9 9 # As Threema only offers a Latest Release url, the plan is to upload each 10 10 # new release url to web.archive.org until their Github releases page gets populated. 11 - url = "https://web.archive.org/web/20220621152620id_/https://releases.threema.ch/web-electron/v1/release/Threema-Latest.deb"; 12 - sha256 = "sha256-X16GMxUIKUloj0FxhzWQKUBf4zwfSBVg0cwLgGxHPHE="; 11 + url = "https://web.archive.org/web/20220915175906if_/https://releases.threema.ch/web-electron/v1/release/Threema-Latest.deb"; 12 + sha256 = "0icxn5whsvwmdmfbkfk4xnl3dn4iif5s5yw5hsimmyx066fq0qhb"; 13 13 }; 14 14 15 15 nativeBuildInputs = [
+2 -2
pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
··· 42 42 , pango 43 43 , pipewire 44 44 , pciutils 45 - , libheimdal 45 + , heimdal 46 46 , libpulseaudio 47 47 , systemd 48 48 , writeScript ··· 137 137 pango 138 138 pipewire 139 139 pciutils 140 - libheimdal 140 + heimdal 141 141 libpulseaudio 142 142 systemd 143 143 ffmpeg
+2 -2
pkgs/applications/networking/remote/freerdp/default.nix
··· 62 62 in 63 63 stdenv.mkDerivation rec { 64 64 pname = "freerdp"; 65 - version = "2.8.1"; 65 + version = "2.9.0"; 66 66 67 67 src = fetchFromGitHub { 68 68 owner = "FreeRDP"; 69 69 repo = "FreeRDP"; 70 70 rev = version; 71 - sha256 = "sha256-0heCwXFms6Ni/F1TaS5QEK+ePlR9DXUrzVj3vA5DvCk="; 71 + sha256 = "sha256-I9xJWHoY8fZ5T9zca77gFciC+7JdD6fMwV16giiY4FU="; 72 72 }; 73 73 74 74 postPatch = ''
+3 -14
pkgs/applications/radio/rtl_433/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, fetchpatch 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config 2 2 , libusb1, rtl-sdr, soapysdr-with-plugins 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - version = "21.12"; 6 + version = "22.11"; 7 7 pname = "rtl_433"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "merbanan"; 11 11 repo = "rtl_433"; 12 12 rev = version; 13 - sha256 = "sha256-KoDKyI7KDdGSe79ZTuL9ObKnOJsqTN4wrMq+/cvQ/Xk="; 13 + sha256 = "sha256-qDY+prdf8O/dqmAgLU6lpsNIvL1R5V2AwsB+4CpOqGM="; 14 14 }; 15 - 16 - patches = [( fetchpatch { 17 - name = "CVE-2022-27419"; 18 - url = "https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904.patch"; 19 - sha256 = "172jndh8x5nlcbx2jp5y8fgfxsawwfz95037pcjp170gf93ijy88"; 20 - }) ( fetchpatch { 21 - name = "CVE-2022-25051"; 22 - url = "https://github.com/merbanan/rtl_433/commit/2dad7b9fc67a1d0bfbe520fbd821678b8f8cc7a8.patch"; 23 - sha256 = "sha256-IfxwdnuA7WbaVdxMTln069mA5hKNuPz+XYQaNA4YY24="; 24 - })]; 25 15 26 16 nativeBuildInputs = [ pkg-config cmake ]; 27 17 ··· 26 36 maintainers = with maintainers; [ earldouglas markuskowa ]; 27 37 platforms = platforms.all; 28 38 }; 29 - 30 39 }
+1 -1
pkgs/build-support/kernel/make-initrd-ng.nix
··· 76 76 77 77 nativeBuildInputs = [makeInitrdNGTool cpio] ++ lib.optional makeUInitrd ubootTools ++ lib.optional strip binutils; 78 78 79 - STRIP = if strip then "${(binutils.nativeDrv or binutils).targetPrefix}strip" else null; 79 + STRIP = if strip then "${pkgsBuildHost.binutils.targetPrefix}strip" else null; 80 80 }) '' 81 81 mkdir ./root 82 82 make-initrd-ng "$contentsPath" ./root
+4 -5
pkgs/build-support/node/build-npm-package/hooks/default.nix
··· 1 - { lib, makeSetupHook, nodejs, srcOnly, diffutils, jq, makeWrapper }: 1 + { lib, makeSetupHook, nodejs, srcOnly, buildPackages, makeWrapper }: 2 2 3 3 { 4 4 npmConfigHook = makeSetupHook ··· 9 9 10 10 # Specify the stdenv's `diff` and `jq` by abspath to ensure that the user's build 11 11 # inputs do not cause us to find the wrong binaries. 12 - # The `.nativeDrv` stanza works like nativeBuildInputs and ensures cross-compiling has the right version available. 13 - diff = "${diffutils.nativeDrv or diffutils}/bin/diff"; 14 - jq = "${jq.nativeDrv or jq}/bin/jq"; 12 + diff = "${buildPackages.diffutils}/bin/diff"; 13 + jq = "${buildPackages.jq}/bin/jq"; 15 14 16 15 nodeVersion = nodejs.version; 17 16 nodeVersionMajor = lib.versions.major nodejs.version; ··· 28 29 deps = [ makeWrapper ]; 29 30 substitutions = { 30 31 hostNode = "${nodejs}/bin/node"; 31 - jq = "${jq.nativeDrv or jq}/bin/jq"; 32 + jq = "${buildPackages.jq}/bin/jq"; 32 33 }; 33 34 } ./npm-install-hook.sh; 34 35 }
+1 -3
pkgs/build-support/rust/hooks/default.nix
··· 2 2 , callPackage 3 3 , cargo 4 4 , clang 5 - , diffutils 6 5 , lib 7 6 , makeSetupHook 8 7 , maturin ··· 64 65 65 66 # Specify the stdenv's `diff` by abspath to ensure that the user's build 66 67 # inputs do not cause us to find the wrong `diff`. 67 - # The `.nativeDrv` stanza works like nativeBuildInputs and ensures cross-compiling has the right version available. 68 - diff = "${diffutils.nativeDrv or diffutils}/bin/diff"; 68 + diff = "${lib.getBin buildPackages.diffutils}/bin/diff"; 69 69 70 70 # We want to specify the correct crt-static flag for both 71 71 # the build and host platforms. This is important when the wanted
-51
pkgs/development/libraries/gsl/gsl-1_16.nix
··· 1 - { fetchurl, fetchpatch, lib, stdenv }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "gsl"; 5 - version = "1.16"; 6 - 7 - src = fetchurl { 8 - url = "mirror://gnu/gsl/gsl-${version}.tar.gz"; 9 - sha256 = "0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k"; 10 - }; 11 - 12 - # do not let -march=skylake to enable FMA (https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html) 13 - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isx86_64 "-mno-fma"; 14 - 15 - patches = [ 16 - (fetchpatch { 17 - name = "bug-39055.patch"; 18 - url = "https://git.savannah.gnu.org/cgit/gsl.git/patch/?id=9cc12d"; 19 - sha256 = "1bmrmihi28cly9g9pq54kkix2jy59y7cd7h5fw4v1c7h5rc2qvs8"; 20 - }) 21 - 22 - (fetchpatch { 23 - name = "fix-parallel-test.patch"; 24 - url = "https://git.savannah.gnu.org/cgit/gsl.git/patch/?id=12654373c3b60541230921aae81f93b484ec5eaf"; 25 - sha256 = "1flzpbsfj7gjywv6v9qvm8wpdrkbpj7shryinfdpb40y7si9njdw"; 26 - }) 27 - ]; 28 - 29 - enableParallelBuilding = true; 30 - doCheck = true; 31 - 32 - meta = { 33 - description = "The GNU Scientific Library, a large numerical library"; 34 - homepage = "https://www.gnu.org/software/gsl/"; 35 - license = lib.licenses.gpl3Plus; 36 - 37 - longDescription = '' 38 - The GNU Scientific Library (GSL) is a numerical library for C 39 - and C++ programmers. It is free software under the GNU General 40 - Public License. 41 - 42 - The library provides a wide range of mathematical routines such 43 - as random number generators, special functions and least-squares 44 - fitting. There are over 1000 functions in total with an 45 - extensive test suite. 46 - ''; 47 - platforms = lib.platforms.unix; 48 - # Failing "eigen" tests on aarch64. 49 - badPlatforms = [ "aarch64-linux" ]; 50 - }; 51 - }
+2
pkgs/development/libraries/qt-6/default.nix
··· 107 107 } ./hooks/qmake-hook.sh; 108 108 }; 109 109 110 + # TODO(@Artturin): convert to makeScopeWithSplicing 111 + # simple example of how to do that in 5568a4d25ca406809530420996d57e0876ca1a01 110 112 self = lib.makeScope newScope addPackages; 111 113 in 112 114 self
+1 -1
pkgs/development/libraries/qt-6/qtModule.nix
··· 61 61 if [[ -z "$dontSyncQt" && -f sync.profile ]]; then 62 62 # FIXME: this probably breaks crosscompiling as it's not from nativeBuildInputs 63 63 # I don't know how to get /libexec from nativeBuildInputs to work, it's not under /bin 64 - ${self.qtbase.dev.nativeDrv or self.qtbase.dev}/libexec/syncqt.pl -version "''${version%%-*}" 64 + ${lib.getDev self.qtbase}/libexec/syncqt.pl -version "''${version%%-*}" 65 65 fi 66 66 ''; 67 67
+20 -17
pkgs/development/tools/mysql-shell/default.nix
··· 4 4 , cmake 5 5 , fetchurl 6 6 , git 7 + , cctools 8 + , developer_cmds 9 + , DarwinTools 10 + , makeWrapper 11 + , CoreServices 7 12 , bison 8 13 , openssl 9 14 , protobuf ··· 31 26 , python3 32 27 , cyrus_sasl 33 28 , openldap 34 - , numactl 35 - , cctools 36 - , CoreServices 37 - , developer_cmds 38 - , DarwinTools 39 - , makeWrapper 29 + , antlr 40 30 }: 41 31 42 32 let 43 33 pythonDeps = with python3.pkgs; [ certifi paramiko pyyaml ]; 44 - pythonPath = lib.makeSearchPath python3.sitePackages pythonDeps; 45 34 in 46 - stdenv.mkDerivation rec{ 35 + stdenv.mkDerivation rec { 47 36 pname = "mysql-shell"; 48 - version = "8.0.30"; 37 + version = "8.0.31"; 49 38 50 39 srcs = [ 51 40 (fetchurl { 52 41 url = "https://cdn.mysql.com//Downloads/MySQL-Shell/mysql-shell-${version}-src.tar.gz"; 53 - sha256 = "sha256-/UJgcYkPG8RShZzybqdcMQDpNUTVWAfAa2p0Cm23fXA="; 42 + sha256 = "sha256-VA9dqvPmw2WXP3hAJS2xRTvxBM8D/IPsWYIaYwRZI/s="; 54 43 }) 55 44 (fetchurl { 56 45 url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor version}/mysql-${version}.tar.gz"; 57 - sha256 = "sha256-yYjVxrqaVmkqbNbpgTRltfyTaO1LRh35cFmi/BYMi4Q="; 46 + sha256 = "sha256-Z7uMunWyjpXH95SFY/AfuEUo/LsaNduoOdTORP4Bm6o="; 58 47 }) 59 48 ]; 60 49 ··· 61 62 substituteInPlace cmake/libutils.cmake --replace /usr/bin/libtool libtool 62 63 ''; 63 64 64 - nativeBuildInputs = [ pkg-config cmake git bison makeWrapper ] ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ]; 65 + nativeBuildInputs = [ pkg-config cmake git bison makeWrapper ] 66 + ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ] 67 + ++ lib.optionals stdenv.isDarwin [ cctools developer_cmds DarwinTools ]; 65 68 66 69 buildInputs = [ 67 70 boost ··· 85 84 openldap 86 85 v8 87 86 python3 88 - ] ++ pythonDeps ++ lib.optionals stdenv.isLinux [ 89 - numactl 90 - libtirpc 91 - ] ++ lib.optionals stdenv.isDarwin [ cctools CoreServices developer_cmds DarwinTools ]; 87 + antlr.runtime.cpp 88 + ] ++ pythonDeps 89 + ++ lib.optionals stdenv.isLinux [ libtirpc ] 90 + ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 92 91 93 92 preConfigure = '' 94 93 # Build MySQL 94 + echo "Building mysqlclient mysqlxclient" 95 + 95 96 cmake -DWITH_BOOST=system -DWITH_SYSTEM_LIBS=ON -DWITH_ROUTER=OFF -DWITH_UNIT_TESTS=OFF \ 96 97 -DFORCE_UNSUPPORTED_COMPILER=1 -S ../mysql-${version} -B ../mysql-${version}/build 97 98 ··· 117 114 CXXFLAGS = [ "-DV8_COMPRESS_POINTERS=1" "-DV8_31BIT_SMIS_ON_64BIT_ARCH=1" ]; 118 115 119 116 postFixup = '' 120 - wrapProgram $out/bin/mysqlsh --set PYTHONPATH "${pythonPath}" 117 + wrapProgram $out/bin/mysqlsh --set PYTHONPATH "${lib.makeSearchPath python3.sitePackages pythonDeps}" 121 118 ''; 122 119 123 120 meta = with lib; {
+3 -3
pkgs/development/tools/worker-build/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "worker-build"; 5 - version = "0.0.11"; 5 + version = "0.0.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloudflare"; 9 9 repo = "workers-rs"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-oqnYWrytQ3hCf4T/PNIXTs3tW+W8HvuvIulRhdhzsDU="; 11 + sha256 = "sha256-s5fcs1A31ePr2EvFdNvX55jMRkHZkR+LRkcy59brwXg="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-t35LMyiQl2bsGjNIKqb8sKbrmCLZ0pmoo0qX0buGA+o="; 14 + cargoSha256 = "sha256-2jLv3/mLLnSsSKEGaAd4jaM5FOdTvdJg2W1Nc4mVkqs="; 15 15 16 16 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 17 17
+2 -2
pkgs/servers/snappymail/default.nix
··· 2 2 , dataPath ? "/var/lib/snappymail" }: 3 3 stdenv.mkDerivation rec { 4 4 pname = "snappymail"; 5 - version = "2.21.0"; 5 + version = "2.21.3"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz"; 9 - sha256 = "sha256-rJRNSlzGPNRFsvloTatB0o9uumbp18I15L5G6ms47EM="; 9 + sha256 = "sha256-lDtbbovgPuXOgNKkHN2EiDltgzSQCVNvN/Qw4FOUVwo="; 10 10 }; 11 11 12 12 sourceRoot = "snappymail";
+2 -2
pkgs/servers/sql/postgresql/ext/pg_repack.nix
··· 9 9 src = fetchFromGitHub { 10 10 owner = "reorg"; 11 11 repo = "pg_repack"; 12 - rev = "f42c1bd707bd5d69a9eb33494133db2e47a2c05a"; # no release tag 13 - sha256 = "sha256-pZjspnmPTXS/SbyLAd7vcoF01cbC6PnxZjuto4lUuQA="; 12 + rev = "ver_${version}"; 13 + sha256 = "sha256-Et8aMRzG7ez0uy9wG6qsg57/kPPZdUhb+/gFxW86D08="; 14 14 }; 15 15 16 16 installPhase = ''
+2 -2
pkgs/servers/sql/postgresql/ext/plpgsql_check.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "plpgsql_check"; 5 - version = "2.2.2"; 5 + version = "2.2.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "okbob"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Nxq4wpOWYt4oyoLxERWPhlEwWmLiDEk27EFyDtW/BfI="; 11 + sha256 = "sha256-XluwevRw+cP0Tx8cr4ixTnX1rakj9zq98rclcrxfMKI="; 12 12 }; 13 13 14 14 buildInputs = [ postgresql ];
+4 -4
pkgs/stdenv/generic/make-derivation.nix
··· 209 209 dependencies = map (map lib.chooseDevOutputs) [ 210 210 [ 211 211 (map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuild" depsBuildBuild)) 212 - (map (drv: drv.nativeDrv or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs 212 + (map (drv: drv.__spliced.buildHost or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs 213 213 ++ lib.optional separateDebugInfo' ../../build-support/setup-hooks/separate-debug-info.sh 214 214 ++ lib.optional stdenv.hostPlatform.isWindows ../../build-support/setup-hooks/win-dll-link.sh 215 215 ++ lib.optionals doCheck checkInputs ··· 218 218 ] 219 219 [ 220 220 (map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost)) 221 - (map (drv: drv.crossDrv or drv) (checkDependencyList "buildInputs" buildInputs)) 221 + (map (drv: drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs)) 222 222 ] 223 223 [ 224 224 (map (drv: drv.__spliced.targetTarget or drv) (checkDependencyList "depsTargetTarget" depsTargetTarget)) ··· 227 227 propagatedDependencies = map (map lib.chooseDevOutputs) [ 228 228 [ 229 229 (map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuildPropagated" depsBuildBuildPropagated)) 230 - (map (drv: drv.nativeDrv or drv) (checkDependencyList "propagatedNativeBuildInputs" propagatedNativeBuildInputs)) 230 + (map (drv: drv.__spliced.buildHost or drv) (checkDependencyList "propagatedNativeBuildInputs" propagatedNativeBuildInputs)) 231 231 (map (drv: drv.__spliced.buildTarget or drv) (checkDependencyList "depsBuildTargetPropagated" depsBuildTargetPropagated)) 232 232 ] 233 233 [ 234 234 (map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHostPropagated" depsHostHostPropagated)) 235 - (map (drv: drv.crossDrv or drv) (checkDependencyList "propagatedBuildInputs" propagatedBuildInputs)) 235 + (map (drv: drv.__spliced.hostTarget or drv) (checkDependencyList "propagatedBuildInputs" propagatedBuildInputs)) 236 236 ] 237 237 [ 238 238 (map (drv: drv.__spliced.targetTarget or drv) (checkDependencyList "depsTargetTargetPropagated" depsTargetTargetPropagated))
+17 -10
pkgs/tools/graphics/feedgnuplot/default.nix
··· 1 - { lib, fetchFromGitHub, makeWrapper 2 - , makeFontsConf, freefont_ttf, gnuplot, perl, perlPackages 3 - , stdenv, shortenPerlShebang 1 + { lib 2 + , fetchFromGitHub 3 + , makeWrapper 4 + , makeFontsConf 5 + , freefont_ttf 6 + , gnuplot 7 + , perl 8 + , perlPackages 9 + , stdenv 10 + , shortenPerlShebang 11 + , installShellFiles 4 12 }: 5 13 6 14 let ··· 19 11 20 12 perlPackages.buildPerlPackage rec { 21 13 pname = "feedgnuplot"; 22 - version = "1.58"; 14 + version = "1.61"; 23 15 24 16 src = fetchFromGitHub { 25 17 owner = "dkogan"; 26 18 repo = "feedgnuplot"; 27 19 rev = "v${version}"; 28 - sha256 = "1qix4lwwyhqibz0a6q2rrb497rmk00v1fvmdyinj0dqmgjw155zr"; 20 + sha256 = "sha256-r5rszxr65lSozkUNaqfBn4I4XjLtvQ6T/BG366JXLRM="; 29 21 }; 30 22 31 23 outputs = [ "out" ]; 32 24 33 - nativeBuildInputs = [ makeWrapper ] ++ lib.optional stdenv.isDarwin shortenPerlShebang; 25 + nativeBuildInputs = [ makeWrapper installShellFiles ] ++ lib.optional stdenv.isDarwin shortenPerlShebang; 34 26 35 27 buildInputs = [ gnuplot perl ] 36 28 ++ (with perlPackages; [ ListMoreUtils IPCRun StringShellQuote ]); ··· 51 43 wrapProgram $out/bin/feedgnuplot \ 52 44 --prefix "PATH" ":" "$PATH" \ 53 45 --prefix "PERL5LIB" ":" "$PERL5LIB" 54 - install -D -m 444 -t $out/share/bash-completion/completions \ 55 - completions/bash/feedgnuplot 56 - install -D -m 444 -t $out/share/zsh/site-functions \ 57 - completions/zsh/_feedgnuplot 46 + 47 + installShellCompletion --bash --name feedgnuplot.bash completions/bash/feedgnuplot 48 + installShellCompletion --zsh completions/zsh/_feedgnuplot 58 49 ''; 59 50 60 51 meta = with lib; {
+2
pkgs/top-level/aliases.nix
··· 582 582 gr-rds = gnuradio3_7.pkgs.rds; # Added 2019-05-27, changed 2020-10-16 583 583 grv = throw "grv has been dropped due to the lack of maintanence from upstream since 2019"; # Added 2022-06-01 584 584 gsettings_desktop_schemas = throw "'gsettings_desktop_schemas' has been renamed to/replaced by 'gsettings-desktop-schemas'"; # Converted to throw 2022-02-22 585 + gsl_1 = throw "'gsl_1' has been renamed to/replaced by 'gsl'"; # Added 2022-11-19 585 586 gtk_doc = throw "'gtk_doc' has been renamed to/replaced by 'gtk-doc'"; # Converted to throw 2022-02-22 586 587 gtklick = throw "gtklick has been removed from nixpkgs as the project is stuck on python2"; # Added 2022-01-01 587 588 gtmess = throw "gtmess has been removed, because it was a MSN client."; # add 2021-12-15 ··· 757 756 libgpgerror = libgpg-error; # Added 2021-09-04 758 757 libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21 759 758 libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22 759 + libheimdal = heimdal; # Added 2022-11-18 760 760 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14 761 761 libixp_hg = libixp; 762 762 libjpeg_drop = libjpeg_original; # Added 2020-06-05
+2 -4
pkgs/top-level/all-packages.nix
··· 790 790 mysql-shell = callPackage ../development/tools/mysql-shell { 791 791 inherit (darwin) cctools developer_cmds DarwinTools; 792 792 inherit (darwin.apple_sdk.frameworks) CoreServices; 793 + antlr = antlr4_10; 793 794 boost = boost177; # Configure checks for specific version. 794 795 protobuf = protobuf3_19; 795 796 icu = icu69; ··· 18580 18579 cypress = callPackage ../development/web/cypress { }; 18581 18580 18582 18581 cyrus_sasl = callPackage ../development/libraries/cyrus-sasl { 18583 - libkrb5 = if stdenv.isFreeBSD then libheimdal else libkrb5; 18582 + libkrb5 = if stdenv.isFreeBSD then heimdal else libkrb5; 18584 18583 }; 18585 18584 18586 18585 # Make bdb5 the default as it is the last release under the custom ··· 19318 19317 19319 19318 gsl = callPackage ../development/libraries/gsl { }; 19320 19319 19321 - gsl_1 = callPackage ../development/libraries/gsl/gsl-1_16.nix { }; 19322 - 19323 19320 gsl-lite = callPackage ../development/libraries/gsl-lite { }; 19324 19321 19325 19322 gsm = callPackage ../development/libraries/gsm {}; ··· 19495 19496 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 19496 19497 autoreconfHook = buildPackages.autoreconfHook269; 19497 19498 }; 19498 - libheimdal = heimdal; 19499 19499 19500 19500 harfbuzz = callPackage ../development/libraries/harfbuzz { 19501 19501 inherit (darwin.apple_sdk.frameworks) ApplicationServices CoreText;
+6 -11
pkgs/top-level/splice.nix
··· 8 8 # The solution is to splice the package sets together as we do below, so every 9 9 # `callPackage`d expression in fact gets both versions. Each# derivation (and 10 10 # each derivation's outputs) consists of the run-time version, augmented with a 11 - # `nativeDrv` field for the build-time version, and `crossDrv` field for the 11 + # `__spliced.buildHost` field for the build-time version, and `__spliced.hostTarget` field for the 12 12 # run-time version. 13 - # 14 - # We could have used any names we want for the disambiguated versions, but 15 - # `crossDrv` and `nativeDrv` were somewhat similarly used for the old 16 - # cross-compiling infrastructure. The names are mostly invisible as 17 - # `mkDerivation` knows how to pull out the right ones for `buildDepends` and 18 - # friends, but a few packages use them directly, so it seemed efficient (to 19 - # @Ericson2314) to reuse those names, at least initially, to minimize breakage. 20 13 # 21 14 # For performance reasons, rather than uniformally splice in all cases, we only 22 15 # do so when `pkgs` and `buildPackages` are distinct. The `actuallySplice` ··· 39 46 valueHostTarget = pkgsHostTarget.${name} or {}; 40 47 valueTargetTarget = pkgsTargetTarget.${name} or {}; 41 48 augmentedValue = defaultValue 42 - # TODO(@Ericson2314): Stop using old names after transition period 43 - // (lib.optionalAttrs (pkgsBuildHost ? ${name}) { nativeDrv = valueBuildHost; }) 44 - // (lib.optionalAttrs (pkgsHostTarget ? ${name}) { crossDrv = valueHostTarget; }) 49 + # TODO(@Artturin): remove before release 23.05 and only have __spliced. 50 + // (lib.optionalAttrs (pkgsBuildHost ? ${name}) { nativeDrv = lib.warn "use ${name}.__spliced.buildHost instead of ${name}.nativeDrv" valueBuildHost; }) 51 + // (lib.optionalAttrs (pkgsHostTarget ? ${name}) { crossDrv = lib.warn "use ${name}.__spliced.hostTarget instead of ${name}.crossDrv" valueHostTarget; }) 45 52 // { 46 53 __spliced = 47 54 (lib.optionalAttrs (pkgsBuildBuild ? ${name}) { buildBuild = valueBuildBuild; }) 55 + // (lib.optionalAttrs (pkgsBuildHost ? ${name}) { buildHost = valueBuildHost; }) 48 56 // (lib.optionalAttrs (pkgsBuildTarget ? ${name}) { buildTarget = valueBuildTarget; }) 49 57 // (lib.optionalAttrs (pkgsHostHost ? ${name}) { hostHost = valueHostHost; }) 58 + // (lib.optionalAttrs (pkgsHostTarget ? ${name}) { hostTarget = valueHostTarget; }) 50 59 // (lib.optionalAttrs (pkgsTargetTarget ? ${name}) { targetTarget = valueTargetTarget; 51 60 }); 52 61 };