Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 19, 2022
2 parents c00ace1 + 4b78546 commit 949c5dc
Show file tree
Hide file tree
Showing 74 changed files with 1,328 additions and 548 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/audio/pt2-clone/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

stdenv.mkDerivation rec {
pname = "pt2-clone";
version = "1.50";
version = "1.51";

src = fetchFromGitHub {
owner = "8bitbubsy";
repo = "pt2-clone";
rev = "v${version}";
sha256 = "sha256-IZakhYVtVXmcKwUMl/v1w6Huu5XWQfaBCatTN4hQAbM=";
sha256 = "sha256-kTYtn68gPwEHZjJl/Vmr5lTtxyEB6r3EGQlVSlBpCZg=";
};

nativeBuildInputs = [ cmake ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/btcpayserver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

buildDotnetModule rec {
pname = "btcpayserver";
version = "1.6.6";
version = "1.6.9";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-790/XBeFS1iM73WuBMXcEoB3gjBlU1dMPRwtQNB7taE=";
sha256 = "sha256-kN+/TQCc35iI8gr9pYlW4B3B6WasGyKQffkJ8rMffVk=";
};

projectFile = "BTCPayServer/BTCPayServer.csproj";
Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/blockchains/btcpayserver/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkgs/applications/misc/ausweisapp2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

mkDerivation rec {
pname = "AusweisApp2";
version = "1.22.7";
version = "1.24.0";

src = fetchFromGitHub {
owner = "Governikus";
repo = "AusweisApp2";
rev = version;
sha256 = "sha256-A6nWH/WqFxTEIfOQcTRluAX0ORMNiyxfC/XLC8fmbdI=";
sha256 = "sha256-2yEUMD3FQ9JrecCnWSr0Fej4ngk7HVCZUgbRqmGbCK8=";
};

nativeBuildInputs = [ cmake pkg-config ];
Expand Down
27 changes: 27 additions & 0 deletions pkgs/applications/misc/tasktimer/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
pname = "tasktimer";
version = "1.9.4";

src = fetchFromGitHub {
owner = "caarlos0";
repo = pname;
rev = "v${version}";
sha256 = "sha256-M88JzcK9HwHeWbQ0McbCF1rIEiKnwh08oEoRck4A/Ho=";
};

vendorSha256 = "sha256-5OSAa7tGPtGyx0bet82FRoIozhhlFtakbPt6PtCTHd0=";

postInstall = ''
mv $out/bin/tasktimer $out/bin/tt
'';

meta = with lib; {
description = "Task Timer (tt) is a dead simple TUI task timer";
homepage = "https://github.com/caarlos0/tasktimer";
license = licenses.mit;
maintainers = with maintainers; [ abbe ];
mainProgram = "tt";
};
}
7 changes: 5 additions & 2 deletions pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit
, libva, pipewire, wayland
, gcc, nspr, nss, runCommand
, lib
, lib, libkrb5

# package customization
# Note: enable* flags should not require full rebuilds (i.e. only affect the wrapper)
Expand Down Expand Up @@ -169,13 +169,16 @@ in stdenv.mkDerivation {

# needed for XDG_ICON_DIRS
gnome.adwaita-icon-theme

# Needed for kerberos at runtime
libkrb5
];

outputs = ["out" "sandbox"];

buildCommand = let
browserBinary = "${chromiumWV}/libexec/chromium/chromium";
libPath = lib.makeLibraryPath [ libva pipewire wayland gtk3 ];
libPath = lib.makeLibraryPath [ libva pipewire wayland gtk3 libkrb5 ];

in with lib; ''
mkdir -p "$out/bin"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/arkade/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

buildGoModule rec {
pname = "arkade";
version = "0.8.32";
version = "0.8.34";

src = fetchFromGitHub {
owner = "alexellis";
repo = "arkade";
rev = version;
sha256 = "sha256-Yat9RIsbMCGVwu7xqC2xNUPZACpMG+ATsQN7d2n0eFU=";
sha256 = "sha256-nGAR+CYVE2acXRRJCl6nWTrjpbX6HArsys9Df8D/hEE=";
};

CGO_ENABLED = 0;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/glooctl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "glooctl";
version = "1.12.6";
version = "1.12.7";

src = fetchFromGitHub {
owner = "solo-io";
repo = "gloo";
rev = "v${version}";
hash = "sha256-g2cKT3ZTLYFBCw3xlcuB2qZ6MTV7qBfN7sieenFUeMM=";
hash = "sha256-GFexXy/vH8rbtoxGo0Sy6cO+FxLTGaO67BkBPgaHuws=";
};

subPackages = [ "projects/gloo/cli/cmd" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/radio/freedv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

stdenv.mkDerivation rec {
pname = "freedv";
version = "1.8.3";
version = "1.8.3.1";

src = fetchFromGitHub {
owner = "drowe67";
repo = "freedv-gui";
rev = "v${version}";
hash = "sha256-hZcaA8ZAkNigWwcaU8K6R6atNi8pqIUUEwkje+3sW8A=";
hash = "sha256-LPCY5gPinxJkfPfumKggI/JQorcW+Qw/ZAP6XQmPkeA=";
};

nativeBuildInputs = [ cmake ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

python3Packages.buildPythonApplication rec {
pname = "git-delete-merged-branches";
version = "7.0.0";
version = "7.2.0";

src = fetchFromGitHub {
owner = "hartwork";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-CPJhd3QXXNm4RGBEDnNOohVOYKVI6I8uc3cDiTrXKvc=";
sha256 = "sha256-pdP+DDJOSqr/fUQPtb84l/8J4EA81nlk/U8h24X8n+I=";
};

propagatedBuildInputs = with python3Packages; [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/virtualization/nixpacks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "nixpacks";
version = "0.2.13";
version = "0.3.2";

src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ZI29kcGteyJWUfCC/DR92YqzfuVYqDx7FtedehVp+vs=";
sha256 = "sha256-WLT9dkaoPHusPBD6oZQSR1KGR1/Lt1jB4+BLhuAXo50=";
};

cargoSha256 = "sha256-Njvf5+i54TLbcWtWiNefEWudtGsSjw+DJh+FP6OuLek=";
cargoSha256 = "sha256-aV0Cg4hbcGylQjx09rHvwHbre/OSALvekEifRYr89D8=";

# skip test due FHS dependency
doCheck = false;
Expand Down
8 changes: 4 additions & 4 deletions pkgs/data/misc/hackage/pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "7a6596613e0d6549f329cb3c2862b035667e0fc3",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/7a6596613e0d6549f329cb3c2862b035667e0fc3.tar.gz",
"sha256": "07sm18dn6lsi8xjhfhm7dyw62lpln9wyhafkigc6f3xaqblz3ap4",
"msg": "Update from Hackage at 2022-08-07T14:05:30Z"
"commit": "eb862a59277fd86ad3138e9f25e793f0fe0364ba",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/eb862a59277fd86ad3138e9f25e793f0fe0364ba.tar.gz",
"sha256": "10agwlxzp76lnp4d6zncvjgv78hr3rss3j3i3bfpsn3i7af1qcw8",
"msg": "Update from Hackage at 2022-08-09T06:14:32Z"
}
12 changes: 12 additions & 0 deletions pkgs/desktops/cinnamon/cinnamon-common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ stdenv.mkDerivation rec {
intltool
gtk-doc
perl
python3.pkgs.wrapPython
];

# use locales from cinnamon-translations (not using --localedir because datadir is used)
Expand Down Expand Up @@ -184,6 +185,17 @@ stdenv.mkDerivation rec {
patchShebangs src/data-to-c.pl
'';

preFixup = ''
# https://github.com/NixOS/nixpkgs/issues/101881
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gnome.caribou}/share"
)
# https://github.com/NixOS/nixpkgs/issues/129946
buildPythonPath "${python3.pkgs.xapp}"
patchPythonScript $out/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py
'';

passthru = {
providedSessions = [ "cinnamon" "cinnamon2d" ];
};
Expand Down
38 changes: 16 additions & 22 deletions pkgs/development/compilers/ghc/9.4.1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,32 +177,27 @@ assert buildTargetLlvmPackages.llvm == llvmPackages.llvm;
assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang;

stdenv.mkDerivation (rec {
version = "9.4.0.20220721";
version = "9.4.1";
pname = "${targetPrefix}ghc${variantSuffix}";

src = fetchurl {
url = "https://downloads.haskell.org/ghc/9.4.1-rc1/ghc-${version}-src.tar.xz";
sha256 = "bca8c52f76d8747a66291181de2de7bdf9ff80093808fe39bf5cbff0f116c426";
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
sha256 = "sha256-y/7UZAvfAl4zulVDPa+M32mPTgSZrnqADd5EqC5zluM=";
};

enableParallelBuilding = true;

outputs = [ "out" "doc" ];


patches = [
# fix hyperlinked haddock sources: https://github.com/haskell/haddock/pull/1482
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/1482.patch";
sha256 = "sha256-8w8QUCsODaTvknCDGgTfFNZa8ZmvIKaKS+2ZJZ9foYk=";
extraPrefix = "utils/haddock/";
stripLen = 1;
})
# fix race condition in make build system
# add missing profiling targets in make build system
(fetchpatch {
name = "ghc-hs-boot-copying-fix.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/4f17eff0cbd125eca55b68f4927befdd45008eb6.diff";
sha256 = "0anq3w9z9mhxb0wx6rvxac3n7rl3apcma9zk3r9zz9hj9v7vkqzx";
name = "ghc-9.4.1-fix-bootstrapping-with-profiling-1.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/47b4fea08bd0ef1476b8d134c7baf06157fe5fa5.diff";
sha256 = "sha256-oYQWg9cK0RNL9I+kap8KER+iiKim73zG6URQs8BeAXU=";
})
./ghc-9.4.1-fix-bootstrapping-with-profiling-2.patch
];

postPatch = "patchShebangs .";
Expand Down Expand Up @@ -240,14 +235,6 @@ stdenv.mkDerivation (rec {
'' + ''
echo -n "${buildMK}" > mk/build.mk
# GHC 9.4.1-rc1 tarball is not properly prepared, also the boot script has been renamed
# https://gitlab.haskell.org/ghc/ghc/-/issues/21626#note_444654
# TODO(@sternenseemann): make source-dist rules include all boot-generated files
./boot.source
# Too restrictive upper bound on Cabal the make build system chokes on
# XXX(@sternenseemann): this should be upstreamed
substituteInPlace utils/ghc-cabal/ghc-cabal.cabal --replace "3.8" "3.9"
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + lib.optionalString (stdenv.isLinux && hostPlatform.libc == "glibc") ''
Expand Down Expand Up @@ -277,6 +264,13 @@ stdenv.mkDerivation (rec {
--replace '*-android*|*-gnueabi*)' \
'*-android*|*-gnueabi*|*-musleabi*)'
done
''
# HACK: allow bootstrapping with GHC 8.10 which works fine, as we don't have
# binary 9.0 packaged. Bootstrapping with 9.2 is broken without hadrian.
+ ''
substituteInPlace configure --replace \
'MinBootGhcVersion="9.0"' \
'MinBootGhcVersion="8.10"'
'';

# TODO(@Ericson2314): Always pass "--target" and always prefix.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/ghc.mk b/ghc.mk
index dd65e7adfe..b91af56078 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -509,11 +509,13 @@ libraries/containers/containers/dist-install/build/Data/IntMap/Internal.o: libra
libraries/containers/containers/dist-install/build/Data/Graph.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi
libraries/containers/containers/dist-install/build/Data/Set/Internal.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi
libraries/containers/containers/dist-install/build/Data/IntSet/Internal.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi
+libraries/containers/containers/dist-install/build/Data/Sequence/Internal.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi

libraries/containers/containers/dist-install/build/Data/IntMap/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
libraries/containers/containers/dist-install/build/Data/Graph.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
libraries/containers/containers/dist-install/build/Data/Set/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
libraries/containers/containers/dist-install/build/Data/IntSet/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
+libraries/containers/containers/dist-install/build/Data/Sequence/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi

ifeq "$(BIGNUM_BACKEND)" "gmp"
GMP_ENABLED = YES
Loading

0 comments on commit 949c5dc

Please sign in to comment.