lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
ebcabbf5 ae3acf95

+68 -56
+1 -1
lib/strings.nix
··· 193 193 normalizePath "/a//b///c/" 194 194 => "/a/b/c/" 195 195 */ 196 - normalizePath = s: (builtins.foldl' (x: y: if y == "/" && hasSuffix "/" x then x else x+y) "" (splitString "" s)); 196 + normalizePath = s: (builtins.foldl' (x: y: if y == "/" && hasSuffix "/" x then x else x+y) "" (stringToCharacters s)); 197 197 198 198 /* Depending on the boolean `cond', return either the given string 199 199 or the empty string. Useful to concatenate against a bigger string.
+5
pkgs/applications/office/libreoffice/default.nix
··· 364 364 ln -s $out/bin/soffice $out/bin/libreoffice 365 365 ln -s $out/lib/libreoffice/share/xdg $out/share/applications 366 366 367 + for f in $out/share/applications/*.desktop; do 368 + substituteInPlace "$f" \ 369 + --replace "Exec=libreoffice${major}.${minor}" "Exec=libreoffice" 370 + done 371 + 367 372 cp -r sysui/desktop/icons "$out/share" 368 373 sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop 369 374
+2 -2
pkgs/desktops/arcan/arcan/default.nix
··· 58 58 in 59 59 stdenv.mkDerivation (finalAttrs: { 60 60 pname = "arcan" + lib.optionalString useStaticOpenAL "-static-openal"; 61 - version = "0.6.2"; 61 + version = "0.6.2.1"; 62 62 63 63 src = fetchFromGitHub { 64 64 owner = "letoram"; 65 65 repo = "arcan"; 66 66 rev = finalAttrs.version; 67 - hash = "sha256-Qwyt927eLqaCqJ4Lo4J1lQX2A24ke+AH52rmSCTnpO0="; 67 + hash = "sha256-7H3fVSsW5VANLqwhykY+Q53fPjz65utaGksh/OpZnJM="; 68 68 }; 69 69 70 70 nativeBuildInputs = [
+47 -29
pkgs/development/compilers/cmucl/binary.nix
··· 1 - {lib, stdenv, fetchurl}: 2 - 3 - let 4 - inherit (stdenv.hostPlatform) system; 5 - version = "21b"; 6 - downloadUrl = arch: 7 - "http://common-lisp.net/project/cmucl/downloads/release/" + 8 - "${version}/cmucl-${version}-${arch}.tar.bz2"; 9 - fetchDist = {arch, sha256}: fetchurl { 10 - url = downloadUrl arch; 11 - inherit sha256; 12 - }; 13 - dist = 14 - if system == "i686-linux" then fetchDist { 15 - arch = "x86-linux"; 16 - sha256 = "13k3b5ygnbsq6n2i3r5i4ljw3r1qlskn2p5f4x9hrx6vfvbb3k7a"; 17 - } 18 - else throw "Unsupported platform for cmucl."; 19 - in 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , installShellFiles 5 + }: 20 6 21 - stdenv.mkDerivation { 7 + stdenv.mkDerivation (finalAttrs: { 22 8 pname = "cmucl-binary"; 23 - inherit version; 9 + version = "21d"; 24 10 25 - buildCommand = '' 26 - mkdir -p $out 27 - tar -C $out -xjf ${dist} 11 + srcs = [ 12 + (fetchurl { 13 + url = "http://common-lisp.net/project/cmucl/downloads/release/" 14 + + finalAttrs.version + "/cmucl-${finalAttrs.version}-x86-linux.tar.bz2"; 15 + hash = "sha256-RdctcqPTtQh1Yb3BrpQ8jtRFQn85OcwOt1l90H6xDZs="; 16 + }) 17 + (fetchurl { 18 + url = "http://common-lisp.net/project/cmucl/downloads/release/" 19 + + finalAttrs.version + "/cmucl-${finalAttrs.version}-x86-linux.extra.tar.bz2"; 20 + hash = "sha256-zEmiW3m5VPpFgPxV1WJNCqgYRlHMovtaMXcgXyNukls="; 21 + })]; 22 + 23 + sourceRoot = "."; 24 + 25 + outputs = [ "out" "doc" "man" ]; 26 + 27 + nativeBuildInputs = [ 28 + installShellFiles 29 + ]; 30 + 31 + dontConfigure = true; 32 + dontBuild = true; 33 + 34 + installPhase = '' 35 + runHook preInstall 36 + 37 + mkdir -pv $out $doc/share $man 38 + mv bin lib -t $out 39 + mv -v doc -t $doc/share 40 + installManPage man/man1/* 41 + 42 + runHook postInstall 43 + ''; 44 + 45 + postFixup = '' 28 46 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 29 47 $out/bin/lisp 30 48 ''; 31 49 32 - meta = { 50 + meta = with lib; { 51 + homepage = "http://www.cons.org/cmucl/"; 33 52 description = "The CMU implementation of Common Lisp"; 34 53 longDescription = '' 35 54 CMUCL is a free implementation of the Common Lisp programming language 36 55 which runs on most major Unix platforms. It mainly conforms to the 37 56 ANSI Common Lisp standard. 38 57 ''; 39 - license = lib.licenses.free; # public domain 40 - homepage = "http://www.cons.org/cmucl/"; 58 + license = licenses.publicDomain; 41 59 maintainers = [ ]; 42 - platforms = lib.platforms.linux; 60 + platforms = [ "i686-linux" "x86_64-linux" ]; 43 61 }; 44 - } 62 + })
+3
pkgs/development/compilers/nim/default.nix
··· 109 109 buildPhase = '' 110 110 runHook preBuild 111 111 local HOME=$TMPDIR 112 + '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' 113 + sed -i "s/aarch64/arm64/g" makefile 114 + '' + '' 112 115 make -j$NIX_BUILD_CORES 113 116 ./bin/nim c --parallelBuild:$NIX_BUILD_CORES koch 114 117 ./koch boot $kochArgs --parallelBuild:$NIX_BUILD_CORES
+2 -2
pkgs/development/libraries/asio/default.nix
··· 1 1 {callPackage, ... } @ args: 2 2 3 3 callPackage ./generic.nix (args // { 4 - version = "1.16.1"; 5 - sha256 = "1333ca6lnsdck4fsgjpbqf4lagxsnbg9970wxlsrinmwvdvdnwg2"; 4 + version = "1.24.0"; 5 + sha256 = "sha256-iXaBLCShGGAPb88HGiBgZjCmmv5MCr7jsN6lKOaCxYU="; 6 6 })
+3 -3
pkgs/development/tools/protoc-gen-validate/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "protoc-gen-validate"; 5 - version = "0.6.12"; 5 + version = "0.6.13"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "envoyproxy"; 8 + owner = "bufbuild"; 9 9 repo = "protoc-gen-validate"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-JoOTIteE4/IFsVVXcRI1KYpRONjo3veQ6uCtxYFlz8Y="; 11 + sha256 = "sha256-w3qtDMRuMRTjNNjkCBzjgvtzgYABLm/OL94p9M8Db6U="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-vFi1DT7o2fyzxO/aZHtdsU1/G/sGmamqZPeql0vQVjs=";
+3 -17
pkgs/development/tools/rust/cargo-show-asm/default.nix
··· 1 1 { lib 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 - , curl 5 4 , installShellFiles 6 - , pkg-config 7 - , openssl 8 5 , stdenv 9 - , darwin 10 6 , nix-update-script 11 7 , callPackage 12 8 }: 13 9 14 10 rustPlatform.buildRustPackage rec { 15 11 pname = "cargo-asm"; 16 - version = "0.1.24"; 12 + version = "0.2.0"; 17 13 18 14 src = fetchFromGitHub { 19 15 owner = "pacak"; 20 16 repo = "cargo-show-asm"; 21 17 rev = version; 22 - hash = "sha256-ahkKUtg5M88qddzEwYxPecDtBofGfPVxKuYKgmsbWYc="; 18 + hash = "sha256-qsr28zuvu+i7P/MpwhDKQFFXTyFFo+vWrjBrpD1V8PY="; 23 19 }; 24 20 25 - cargoHash = "sha256-S7OpHNjiTfQg7aPmHEx6Q/OV5QA9pB29F3MTIeiLAXg="; 21 + cargoHash = "sha256-IL+BB08uZr5fm05ITxpm66jTb+pYYlLKOwQ8uf5rKSs="; 26 22 27 23 nativeBuildInputs = [ 28 - curl.dev 29 24 installShellFiles 30 - pkg-config 31 25 ]; 32 - 33 - buildInputs = [ 34 - curl 35 - openssl 36 - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 37 - CoreFoundation 38 - SystemConfiguration 39 - ]); 40 26 41 27 postInstall = '' 42 28 installShellCompletion --cmd cargo-asm \
+2 -2
pkgs/tools/misc/octosql/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "octosql"; 8 - version = "0.11.1"; 8 + version = "0.12.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "cube2222"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-Ao1c0oCgrn0XGCMlIhvHqCnWIIiLejp7gfkK0guIDrI="; 14 + sha256 = "sha256-UXHNA53ipGybYYAu+Ml8tI+9YZPW18BLsVjkW/UNQag="; 15 15 }; 16 16 17 17 vendorSha256 = "sha256-as8vJmUH0mDPQ8K6D5yRybPV5ibvHEtyQjArXjimGpo=";