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 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 - 26 16 nativeBuildInputs = [ pkg-config cmake ]; 27 17 28 18 buildInputs = [ libusb1 rtl-sdr soapysdr-with-plugins ]; ··· 36 26 maintainers = with maintainers; [ earldouglas markuskowa ]; 37 27 platforms = platforms.all; 38 28 }; 39 - 40 29 }
+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; ··· 29 28 deps = [ makeWrapper ]; 30 29 substitutions = { 31 30 hostNode = "${nodejs}/bin/node"; 32 - jq = "${jq.nativeDrv or jq}/bin/jq"; 31 + jq = "${buildPackages.jq}/bin/jq"; 33 32 }; 34 33 } ./npm-install-hook.sh; 35 34 }
+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 ··· 65 64 66 65 # Specify the stdenv's `diff` by abspath to ensure that the user's build 67 66 # inputs do not cause us to find the wrong `diff`. 68 - # The `.nativeDrv` stanza works like nativeBuildInputs and ensures cross-compiling has the right version available. 69 - diff = "${diffutils.nativeDrv or diffutils}/bin/diff"; 67 + diff = "${lib.getBin buildPackages.diffutils}/bin/diff"; 70 68 71 69 # We want to specify the correct crt-static flag for both 72 70 # 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 ··· 26 31 , python3 27 32 , cyrus_sasl 28 33 , openldap 29 - , numactl 30 - , cctools 31 - , CoreServices 32 - , developer_cmds 33 - , DarwinTools 34 - , makeWrapper 34 + , antlr 35 35 }: 36 36 37 37 let 38 38 pythonDeps = with python3.pkgs; [ certifi paramiko pyyaml ]; 39 - pythonPath = lib.makeSearchPath python3.sitePackages pythonDeps; 40 39 in 41 - stdenv.mkDerivation rec{ 40 + stdenv.mkDerivation rec { 42 41 pname = "mysql-shell"; 43 - version = "8.0.30"; 42 + version = "8.0.31"; 44 43 45 44 srcs = [ 46 45 (fetchurl { 47 46 url = "https://cdn.mysql.com//Downloads/MySQL-Shell/mysql-shell-${version}-src.tar.gz"; 48 - sha256 = "sha256-/UJgcYkPG8RShZzybqdcMQDpNUTVWAfAa2p0Cm23fXA="; 47 + sha256 = "sha256-VA9dqvPmw2WXP3hAJS2xRTvxBM8D/IPsWYIaYwRZI/s="; 49 48 }) 50 49 (fetchurl { 51 50 url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor version}/mysql-${version}.tar.gz"; 52 - sha256 = "sha256-yYjVxrqaVmkqbNbpgTRltfyTaO1LRh35cFmi/BYMi4Q="; 51 + sha256 = "sha256-Z7uMunWyjpXH95SFY/AfuEUo/LsaNduoOdTORP4Bm6o="; 53 52 }) 54 53 ]; 55 54 ··· 62 61 substituteInPlace cmake/libutils.cmake --replace /usr/bin/libtool libtool 63 62 ''; 64 63 65 - nativeBuildInputs = [ pkg-config cmake git bison makeWrapper ] ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ]; 64 + nativeBuildInputs = [ pkg-config cmake git bison makeWrapper ] 65 + ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ] 66 + ++ lib.optionals stdenv.isDarwin [ cctools developer_cmds DarwinTools ]; 66 67 67 68 buildInputs = [ 68 69 boost ··· 84 85 openldap 85 86 v8 86 87 python3 87 - ] ++ pythonDeps ++ lib.optionals stdenv.isLinux [ 88 - numactl 89 - libtirpc 90 - ] ++ lib.optionals stdenv.isDarwin [ cctools CoreServices developer_cmds DarwinTools ]; 88 + antlr.runtime.cpp 89 + ] ++ pythonDeps 90 + ++ lib.optionals stdenv.isLinux [ libtirpc ] 91 + ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 91 92 92 93 preConfigure = '' 93 94 # Build MySQL 95 + echo "Building mysqlclient mysqlxclient" 96 + 94 97 cmake -DWITH_BOOST=system -DWITH_SYSTEM_LIBS=ON -DWITH_ROUTER=OFF -DWITH_UNIT_TESTS=OFF \ 95 98 -DFORCE_UNSUPPORTED_COMPILER=1 -S ../mysql-${version} -B ../mysql-${version}/build 96 99 ··· 114 117 CXXFLAGS = [ "-DV8_COMPRESS_POINTERS=1" "-DV8_31BIT_SMIS_ON_64BIT_ARCH=1" ]; 115 118 116 119 postFixup = '' 117 - wrapProgram $out/bin/mysqlsh --set PYTHONPATH "${pythonPath}" 120 + wrapProgram $out/bin/mysqlsh --set PYTHONPATH "${lib.makeSearchPath python3.sitePackages pythonDeps}" 118 121 ''; 119 122 120 123 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 ··· 11 19 12 20 perlPackages.buildPerlPackage rec { 13 21 pname = "feedgnuplot"; 14 - version = "1.58"; 22 + version = "1.61"; 15 23 16 24 src = fetchFromGitHub { 17 25 owner = "dkogan"; 18 26 repo = "feedgnuplot"; 19 27 rev = "v${version}"; 20 - sha256 = "1qix4lwwyhqibz0a6q2rrb497rmk00v1fvmdyinj0dqmgjw155zr"; 28 + sha256 = "sha256-r5rszxr65lSozkUNaqfBn4I4XjLtvQ6T/BG366JXLRM="; 21 29 }; 22 30 23 31 outputs = [ "out" ]; 24 32 25 - nativeBuildInputs = [ makeWrapper ] ++ lib.optional stdenv.isDarwin shortenPerlShebang; 33 + nativeBuildInputs = [ makeWrapper installShellFiles ] ++ lib.optional stdenv.isDarwin shortenPerlShebang; 26 34 27 35 buildInputs = [ gnuplot perl ] 28 36 ++ (with perlPackages; [ ListMoreUtils IPCRun StringShellQuote ]); ··· 43 51 wrapProgram $out/bin/feedgnuplot \ 44 52 --prefix "PATH" ":" "$PATH" \ 45 53 --prefix "PERL5LIB" ":" "$PERL5LIB" 46 - install -D -m 444 -t $out/share/bash-completion/completions \ 47 - completions/bash/feedgnuplot 48 - install -D -m 444 -t $out/share/zsh/site-functions \ 49 - completions/zsh/_feedgnuplot 54 + 55 + installShellCompletion --bash --name feedgnuplot.bash completions/bash/feedgnuplot 56 + installShellCompletion --zsh completions/zsh/_feedgnuplot 50 57 ''; 51 58 52 59 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 ··· 756 757 libgpgerror = libgpg-error; # Added 2021-09-04 757 758 libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21 758 759 libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22 760 + libheimdal = heimdal; # Added 2022-11-18 759 761 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14 760 762 libixp_hg = libixp; 761 763 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; ··· 18579 18580 cypress = callPackage ../development/web/cypress { }; 18580 18581 18581 18582 cyrus_sasl = callPackage ../development/libraries/cyrus-sasl { 18582 - libkrb5 = if stdenv.isFreeBSD then libheimdal else libkrb5; 18583 + libkrb5 = if stdenv.isFreeBSD then heimdal else libkrb5; 18583 18584 }; 18584 18585 18585 18586 # Make bdb5 the default as it is the last release under the custom ··· 19317 19318 19318 19319 gsl = callPackage ../development/libraries/gsl { }; 19319 19320 19320 - gsl_1 = callPackage ../development/libraries/gsl/gsl-1_16.nix { }; 19321 - 19322 19321 gsl-lite = callPackage ../development/libraries/gsl-lite { }; 19323 19322 19324 19323 gsm = callPackage ../development/libraries/gsm {}; ··· 19496 19495 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 19497 19496 autoreconfHook = buildPackages.autoreconfHook269; 19498 19497 }; 19499 - libheimdal = heimdal; 19500 19498 19501 19499 harfbuzz = callPackage ../development/libraries/harfbuzz { 19502 19500 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` ··· 46 39 valueHostTarget = pkgsHostTarget.${name} or {}; 47 40 valueTargetTarget = pkgsTargetTarget.${name} or {}; 48 41 augmentedValue = defaultValue 49 - # TODO(@Ericson2314): Stop using old names after transition period 50 - // (lib.optionalAttrs (pkgsBuildHost ? ${name}) { nativeDrv = valueBuildHost; }) 51 - // (lib.optionalAttrs (pkgsHostTarget ? ${name}) { crossDrv = valueHostTarget; }) 42 + # TODO(@Artturin): remove before release 23.05 and only have __spliced. 43 + // (lib.optionalAttrs (pkgsBuildHost ? ${name}) { nativeDrv = lib.warn "use ${name}.__spliced.buildHost instead of ${name}.nativeDrv" valueBuildHost; }) 44 + // (lib.optionalAttrs (pkgsHostTarget ? ${name}) { crossDrv = lib.warn "use ${name}.__spliced.hostTarget instead of ${name}.crossDrv" valueHostTarget; }) 52 45 // { 53 46 __spliced = 54 47 (lib.optionalAttrs (pkgsBuildBuild ? ${name}) { buildBuild = valueBuildBuild; }) 48 + // (lib.optionalAttrs (pkgsBuildHost ? ${name}) { buildHost = valueBuildHost; }) 55 49 // (lib.optionalAttrs (pkgsBuildTarget ? ${name}) { buildTarget = valueBuildTarget; }) 56 50 // (lib.optionalAttrs (pkgsHostHost ? ${name}) { hostHost = valueHostHost; }) 51 + // (lib.optionalAttrs (pkgsHostTarget ? ${name}) { hostTarget = valueHostTarget; }) 57 52 // (lib.optionalAttrs (pkgsTargetTarget ? ${name}) { targetTarget = valueTargetTarget; 58 53 }); 59 54 };