From 83cc358e1be121c928e605254328e9a318f66de5 Mon Sep 17 00:00:00 2001 From: monacoremo <59358383+monacoremo@users.noreply.github.com> Date: Thu, 15 Jul 2021 08:52:54 +0200 Subject: [PATCH] nix: Update static-haskell-nix and fix stripped executable --- default.nix | 2 +- nix/static-haskell-package.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index fe13dd5ca..98f540b4e 100644 --- a/default.nix +++ b/default.nix @@ -93,7 +93,7 @@ rec { # Static executable. postgrestStatic = - lib.doStrip (lib.justStaticExecutables (lib.dontCheck (staticHaskellPackage name src))); + lib.justStaticExecutables (lib.dontCheck (staticHaskellPackage name src)); # Profiled dynamic executable. postgrestProfiled = diff --git a/nix/static-haskell-package.nix b/nix/static-haskell-package.nix index 32a61cafa..186db0e7a 100644 --- a/nix/static-haskell-package.nix +++ b/nix/static-haskell-package.nix @@ -6,11 +6,11 @@ let # The nh2/static-haskell-nix project does all the hard work for us. static-haskell-nix = let - rev = "66fce684a20451514cb68d71bcb62fb246cb2080"; + rev = "cdc1a9a36add24fac3b98e32b03e0e3c41bd17ee"; in builtins.fetchTarball { url = "https://github.com/nh2/static-haskell-nix/archive/${rev}.tar.gz"; - sha256 = "0322s6hpdwfyw56galvcgla97rnxd2xigcmc0pkiahzs061dcykn"; + sha256 = "0ba2jqi25p01jmd827xkw05wrv40pa46vh3j0dvyx6b6bsyj4xqx"; }; patched-static-haskell-nix =