about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix')
-rw-r--r--pkgs/development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkgs/development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix b/pkgs/development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix
deleted file mode 100644
index 1fe0dac74758..000000000000
--- a/pkgs/development/compilers/ghc/ghc-wrapper/ghc-cabal-executable-fun.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-args: with args;
-{ name, src, meta ? {}, libsFun, pass ? {} } : 
-let buildInputs = libsFun ((ghc68extraLibs ghcsAndLibs.ghc68) // ghcsAndLibs.ghc68.core_libs) 
-                  ++ [ ghcsAndLibs.ghc68.ghc perl ];
-in stdenv.mkDerivation ({
-  inherit name src meta;
-  phases = "unpackPhase patchPhase buildPhase";
-  # TODO The ghc must be the one having compiled the libs.. So make this obvious by not having to pass it
-  buildPhase  = ''
-    ghc --make Setup.*hs -o setup
-    ensureDir \out
-    nix_ghc_pkg_tool join local-pkg-db
-    ./setup configure --prefix=$out --package-db=local-pkg-db
-    ./setup build
-    ./setup install
-    '';
-} // pass // { buildInputs = buildInputs ++  (if pass ? buildInputs then lib.toList pass.buildInputs else []); })