1
0
mirror of https://github.com/bennofs/nix-script synced 2025-01-09 20:34:20 +01:00

Drop dependencies

This commit is contained in:
rnhmjoj 2015-09-11 05:13:15 +02:00
parent fd3b126eb2
commit a3a56c2dbb

View File

@ -6,7 +6,7 @@ pkgs.stdenv.mkDerivation {
phases = [ "buildPhase" "installPhase" "fixupPhase" ];
buildPhase = ''mkdir -p $out/bin; ghc -O2 $src -o $out/bin/nix-script -odir $TMP'';
installPhase = ''ln -s $out/bin/nix-script $out/bin/nix-scripti'';
buildInputs = [ (pkgs.haskellPackages.ghcWithPackages (hs: with hs; [lens text])) ];
buildInputs = [ pkgs.haskellPackages.ghc ];
meta = {
homepage = https://github.com/bennofs/nix-script;
description = "A shebang for running inside nix-shell.";