mirror of
https://github.com/bennofs/nix-script
synced 2025-01-10 12:54:20 +01:00
Drop dependencies
This commit is contained in:
parent
fd3b126eb2
commit
a3a56c2dbb
@ -6,7 +6,7 @@ pkgs.stdenv.mkDerivation {
|
|||||||
phases = [ "buildPhase" "installPhase" "fixupPhase" ];
|
phases = [ "buildPhase" "installPhase" "fixupPhase" ];
|
||||||
buildPhase = ''mkdir -p $out/bin; ghc -O2 $src -o $out/bin/nix-script -odir $TMP'';
|
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'';
|
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 = {
|
meta = {
|
||||||
homepage = https://github.com/bennofs/nix-script;
|
homepage = https://github.com/bennofs/nix-script;
|
||||||
description = "A shebang for running inside nix-shell.";
|
description = "A shebang for running inside nix-shell.";
|
||||||
|
Loading…
Reference in New Issue
Block a user