Skip to content

Commit

Permalink
haskell-yesod-bin: update to version 1.2.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
peti committed Jun 9, 2014
1 parent 7d3603a commit b23dcdd
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions pkgs/development/libraries/haskell/yesod-bin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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";
Expand Down

0 comments on commit b23dcdd

Please sign in to comment.