Skip to content

Commit c8693b9

Browse files
cdepillaboutdanielrolls
authored andcommitted
Change executable name to nix-shellify
1 parent deef2a5 commit c8693b9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

flake.nix

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
55

6-
outputs = { self, nixpkgs }:
6+
outputs = { self, nixpkgs }:
77

88
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
99
in {
@@ -20,10 +20,7 @@
2020
}
2121
) {
2222
enableSeparateDataOutput = false;
23-
}).overrideAttrs (old: {
24-
installPhase = old.installPhase + ''
25-
ln -s $out/bin/shellify $out/bin/nix-shellify
26-
'';
23+
}).overrideAttrs(old: {
2724
buildInputs = old.buildInputs ++ [ pkgs.nix ];
2825
});
2926
};

shellify.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ library
5959
shake >=0.19.7 && <0.20,
6060
unordered-containers >=0.2.19.1 && <0.3
6161

62-
executable shellify
62+
executable nix-shellify
6363
import: deps
6464
main-is: Main.hs
6565
build-depends:

0 commit comments

Comments
 (0)