nix: Update static-haskell-nix and fix stripped executable

This commit is contained in:
monacoremo
2021-07-15 09:41:52 +02:00
committed by Remo Rechkemmer
parent 11374c2fae
commit 83cc358e1b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 =
+2 -2
View File
@@ -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 =