Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

mcfly: replace executable path in init scripts

+6
+6
pkgs/tools/misc/mcfly/default.nix
··· 11 sha256 = "0i3qjgq1b8h3bzc7rxa60kq1yc2im9m6dgzrvial086a1zk8s81r"; 12 }; 13 14 cargoSha256 = "084v4fsdi25ahz068ssq29z7d5d3k3jh3s8b07irwybdsy18c629"; 15 16 meta = with lib; {
··· 11 sha256 = "0i3qjgq1b8h3bzc7rxa60kq1yc2im9m6dgzrvial086a1zk8s81r"; 12 }; 13 14 + postPatch = '' 15 + substituteInPlace mcfly.bash --replace '$(which mcfly)' '${placeholder "out"}/bin/mcfly' 16 + substituteInPlace mcfly.zsh --replace '$(which mcfly)' '${placeholder "out"}/bin/mcfly' 17 + substituteInPlace mcfly.fish --replace '(which mcfly)' '${placeholder "out"}/bin/mcfly' 18 + ''; 19 + 20 cargoSha256 = "084v4fsdi25ahz068ssq29z7d5d3k3jh3s8b07irwybdsy18c629"; 21 22 meta = with lib; {