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

Configure Feed

Select the types of activity you want to include in your feed.

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
413d93fa 4611d043

+45 -30
+1
nixos/modules/system/boot/luksroot.nix
··· 332 332 333 333 if [ $? == 0 ]; then 334 334 echo -ne "$new_salt\n$new_iterations" > /crypt-storage${dev.yubikey.storage.path} 335 + sync /crypt-storage${dev.yubikey.storage.path} 335 336 else 336 337 echo "Warning: Could not update LUKS key, current challenge persists!" 337 338 fi
+3 -3
pkgs/applications/audio/ncspot/default.nix
··· 14 14 in 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "ncspot"; 17 - version = "0.8.2"; 17 + version = "0.9.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "hrkfdn"; 21 21 repo = "ncspot"; 22 22 rev = "v${version}"; 23 - sha256 = "1rs1jy7zzfgqzr64ld8whn0wlw8n7rk1svxx0xfxm3ynmgc7sd68"; 23 + sha256 = "07qqs5q64zaxl3b2091vjihqb35fm0136cm4zibrgpx21akmbvr2"; 24 24 }; 25 25 26 - cargoSha256 = "10g7gdi1iz751wa60vr4fs0cvfsgs3pfcp8pnywicl0vsdp25fmc"; 26 + cargoSha256 = "0sdbba32f56z2q7kha5fxw2f00hikbz9sf4zl4wfl2i9b13j7mj0"; 27 27 28 28 cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ]; 29 29
+14 -20
pkgs/build-support/rust/default.nix
··· 1 - { stdenv 2 - , lib 3 - , buildPackages 1 + { lib 2 + , importCargoLock 3 + , fetchCargoTarball 4 + , rust 5 + , stdenv 6 + , callPackage 4 7 , cacert 8 + , git 5 9 , cargoBuildHook 6 10 , cargoCheckHook 7 11 , cargoInstallHook 8 12 , cargoSetupHook 9 - , fetchCargoTarball 10 - , importCargoLock 11 - , rustPlatform 12 - , callPackage 13 - , git 14 - , rust 15 13 , rustc 16 14 , libiconv 17 15 , windows 18 16 }: 19 17 20 18 { name ? "${args.pname}-${args.version}" 21 - 22 - # SRI hash 23 - , cargoHash ? "" 24 - 25 - # Legacy hash 26 - , cargoSha256 ? "" 27 19 28 20 # Name for the vendored dependencies tarball 29 21 , cargoDepsName ? name ··· 48 56 , buildAndTestSubdir ? null 49 57 , ... } @ args: 50 58 51 - assert cargoVendorDir == null && cargoLock == null -> cargoSha256 == "" && cargoHash == "" 59 + assert cargoVendorDir == null && cargoLock == null -> !(args ? cargoSha256) && !(args ? cargoHash) 52 60 -> throw "cargoSha256, cargoHash, cargoVendorDir, or cargoLock must be set"; 53 61 assert buildType == "release" || buildType == "debug"; 54 62 ··· 60 68 else fetchCargoTarball ({ 61 69 inherit src srcs sourceRoot unpackPhase cargoUpdateHook; 62 70 name = cargoDepsName; 63 - hash = cargoHash; 64 71 patches = cargoPatches; 65 - sha256 = cargoSha256; 72 + } // lib.optionalAttrs (args ? cargoHash) { 73 + hash = args.cargoHash; 74 + } // lib.optionalAttrs (args ? cargoSha256) { 75 + sha256 = args.cargoSha256; 66 76 } // depsExtraArgs) 67 77 else null; 68 78 69 79 # If we have a cargoSha256 fixed-output derivation, validate it at build time 70 80 # against the src fixed-output derivation to check consistency. 71 - validateCargoDeps = !(cargoHash == "" && cargoSha256 == ""); 81 + validateCargoDeps = args ? cargoHash || args ? cargoSha256; 72 82 73 83 target = rust.toRustTargetSpec stdenv.hostPlatform; 74 84 targetIsJSON = lib.hasSuffix ".json" target; ··· 82 88 (lib.removeSuffix ".json" (builtins.baseNameOf "${target}")) 83 89 else target; 84 90 85 - sysroot = (callPackage ./sysroot {}) { 91 + sysroot = callPackage ./sysroot { } { 86 92 inherit target shortTarget; 87 93 RUSTFLAGS = args.RUSTFLAGS or ""; 88 94 originalCargoToml = src + /Cargo.toml; # profile info is later extracted
+2 -4
pkgs/build-support/rust/fetchCargoTarball.nix
··· 22 22 , srcs ? [] 23 23 , patches ? [] 24 24 , sourceRoot ? "" 25 - , hash ? "" 26 - , sha256 ? "" 27 25 , cargoUpdateHook ? "" 28 26 , ... 29 27 } @ args: 30 28 31 29 let hash_ = 32 - if hash != "" then { outputHashAlgo = null; outputHash = hash; } 33 - else if sha256 != "" then { outputHashAlgo = "sha256"; outputHash = sha256; } 30 + if args ? hash then { outputHashAlgo = null; outputHash = args.hash; } 31 + else if args ? sha256 then { outputHashAlgo = "sha256"; outputHash = args.sha256; } 34 32 else throw "fetchCargoTarball requires a hash for ${name}"; 35 33 in stdenv.mkDerivation ({ 36 34 name = "${name}-vendor.tar.gz";
+9
pkgs/development/libraries/SDL2_mixer/default.nix
··· 13 13 , mpg123 14 14 , opusfile 15 15 , smpeg2 16 + , timidity 16 17 }: 17 18 18 19 stdenv.mkDerivation rec { ··· 43 42 mpg123 44 43 opusfile 45 44 smpeg2 45 + # MIDI patterns 46 + timidity 46 47 ]; 48 + 49 + # fix default path to timidity.cfg so MIDI files could be played 50 + postPatch = '' 51 + substituteInPlace timidity/options.h \ 52 + --replace "/usr/share/timidity" "${timidity}/share/timidity" 53 + ''; 47 54 48 55 configureFlags = [ 49 56 "--disable-music-ogg-shared"
+7 -1
pkgs/development/python-modules/afdko/default.nix
··· 58 58 # https://github.com/adobe-type-tools/afdko/issues/1216 59 59 doCheck = stdenv.isx86_64; 60 60 checkInputs = [ pytestCheckHook ]; 61 - preCheck = "export PATH=$PATH:$out/bin"; 61 + preCheck = '' 62 + export PATH=$PATH:$out/bin 63 + 64 + # Update tests to match ufinormalizer-0.6.1 expectations: 65 + # https://github.com/adobe-type-tools/afdko/issues/1418 66 + find tests -name layerinfo.plist -delete 67 + ''; 62 68 disabledTests = [ 63 69 # Disable slow tests, reduces test time ~25 % 64 70 "test_report"
+6
pkgs/misc/uboot/default.nix
··· 171 171 filesToInstall = ["u-boot-spl.kwb"]; 172 172 }; 173 173 174 + ubootCubieboard2 = buildUBoot { 175 + defconfig = "Cubieboard2_defconfig"; 176 + extraMeta.platforms = ["armv7l-linux"]; 177 + filesToInstall = ["u-boot-sunxi-with-spl.bin"]; 178 + }; 179 + 174 180 ubootGuruplug = buildUBoot { 175 181 defconfig = "guruplug_defconfig"; 176 182 extraMeta.platforms = ["armv5tel-linux"];
+2 -2
pkgs/servers/hqplayerd/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "hqplayerd"; 20 - version = "4.25.2-66"; 20 + version = "4.26.0-67"; 21 21 22 22 src = fetchurl { 23 23 url = "https://www.signalyst.eu/bins/${pname}/fc34/${pname}-${version}.fc34.x86_64.rpm"; 24 - sha256 = "sha256-BZGtv/Bumkltk6fJw3+RG1LZc3pGpd8e4DvgLxOTvcQ="; 24 + sha256 = "sha256-Wbtt1yO/CE2cewOE5RynwEm+fCdOV1cxzR/XiCwj0NU="; 25 25 }; 26 26 27 27 unpackPhase = ''
+1
pkgs/top-level/all-packages.nix
··· 22425 22425 ubootBananaPim64 22426 22426 ubootAmx335xEVM 22427 22427 ubootClearfog 22428 + ubootCubieboard2 22428 22429 ubootGuruplug 22429 22430 ubootJetsonTK1 22430 22431 ubootNanoPCT4