executable-path haskell package

svn path=/nixpkgs/trunk/; revision=34150
This commit is contained in:
Mathijs Kwik 2012-05-17 10:16:05 +00:00
parent 1d4df9f299
commit 660341c395
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ cabal, filepath }:
cabal.mkDerivation (self: {
pname = "executable-path";
version = "0.0.3";
sha256 = "1jg58qf19qz93c60ryglcavwdcysz4fd4qn8kpw5im9w9kniawlc";
buildDepends = [ filepath ];
meta = {
homepage = "http://code.haskell.org/~bkomuves/";
description = "Finding out the full path of the executable";
license = self.stdenv.lib.licenses.publicDomain;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -592,6 +592,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
explicitException = callPackage ../development/libraries/haskell/explicit-exception {};
executablePath = callPackage ../development/libraries/haskell/executable-path {};
filepath_1_3_0_0 = callPackage ../development/libraries/haskell/filepath {};
filepath = null; # a core package in recent GHCs