forked from mirrors/nixpkgs
haskell-yesod-bin: update to version 1.2.9.4
This commit is contained in:
parent
7d3603ae4a
commit
b23dcddd23
|
@ -10,8 +10,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "yesod-bin";
|
||||
version = "1.2.9.3";
|
||||
sha256 = "1gjcg798d7xpd8hgz8s1napgxm9dnbsks1g1s5hgx8ml5xkp2la7";
|
||||
version = "1.2.9.4";
|
||||
sha256 = "0ir77hmg3avkm4x7pgmjx3fijisncpwklg4v1glqx4vqbjjrzk5g";
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
@ -23,18 +23,6 @@ cabal.mkDerivation (self: {
|
|||
systemFileio systemFilepath tar text time transformers unixCompat
|
||||
unorderedContainers wai waiExtra warp yaml zlib
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/yesod $out/bin/.yesod-wrapped
|
||||
cat - > $out/bin/yesod <<EOF
|
||||
#! ${self.stdenv.shell}
|
||||
export HSENV=1
|
||||
export PACKAGE_DB_FOR_GHC='$( ${self.ghc.GHCGetPackages} ${self.ghc.version} | tr " " "\n" | tail -n +2 | paste -d " " - - | sed 's/.*/-g "&"/' | tr "\n" " ")'
|
||||
eval exec $out/bin/.yesod-wrapped "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/yesod
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/";
|
||||
description = "The yesod helper executable";
|
||||
|
|
Loading…
Reference in a new issue