From 949b80a2295c1b864b3186fbda39c3114d8a5e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Thu, 2 Oct 2014 20:53:55 +0200 Subject: [PATCH] system-argv0: added package --- .../libraries/haskell/system-argv0/default.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/system-argv0/default.nix diff --git a/pkgs/development/libraries/haskell/system-argv0/default.nix b/pkgs/development/libraries/haskell/system-argv0/default.nix new file mode 100644 index 000000000000..6f0eb038b604 --- /dev/null +++ b/pkgs/development/libraries/haskell/system-argv0/default.nix @@ -0,0 +1,16 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, systemFilepath, text }: + +cabal.mkDerivation (self: { + pname = "system-argv0"; + version = "0.1.1"; + sha256 = "1ijfry2r3cypp3zmws6dczk21m4n86fkxjld7yl19gjp46fxllbd"; + buildDepends = [ systemFilepath text ]; + meta = { + homepage = "https://john-millikin.com/software/haskell-filesystem/"; + description = "Get argv[0] as a FilePath"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 829523c4a0a6..52233ed9b54e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2437,6 +2437,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in symbol = callPackage ../development/libraries/haskell/symbol {}; + systemArgv0 = callPackage ../development/libraries/haskell/system-argv0 {}; + systemFilepath = callPackage ../development/libraries/haskell/system-filepath {}; systemFileio = callPackage ../development/libraries/haskell/system-fileio {};