tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
mcfly: replace executable path in init scripts
Mario Rodas
4 years ago
71b7b77c
db88608d
+6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
mcfly
default.nix
+6
pkgs/tools/misc/mcfly/default.nix
···
11
11
sha256 = "0i3qjgq1b8h3bzc7rxa60kq1yc2im9m6dgzrvial086a1zk8s81r";
12
12
};
13
13
14
14
+
postPatch = ''
15
15
+
substituteInPlace mcfly.bash --replace '$(which mcfly)' '${placeholder "out"}/bin/mcfly'
16
16
+
substituteInPlace mcfly.zsh --replace '$(which mcfly)' '${placeholder "out"}/bin/mcfly'
17
17
+
substituteInPlace mcfly.fish --replace '(which mcfly)' '${placeholder "out"}/bin/mcfly'
18
18
+
'';
19
19
+
14
20
cargoSha256 = "084v4fsdi25ahz068ssq29z7d5d3k3jh3s8b07irwybdsy18c629";
15
21
16
22
meta = with lib; {