ipfetch: fix phase name
This commit is contained in:
parent
433236f615
commit
ac6ae29f46
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
buildInputs = [ bash wget ];
|
buildInputs = [ bash wget ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
patchShebangs --host ipfetch
|
patchShebangs --host ipfetch
|
||||||
# Not only does `/usr` have to be replaced but also `/flags` needs to be added because with Nix the script is broken without this. The `/flags` is somehow not needed if you install via the install script in the source repository.
|
# Not only does `/usr` have to be replaced but also `/flags` needs to be added because with Nix the script is broken without this. The `/flags` is somehow not needed if you install via the install script in the source repository.
|
||||||
substituteInPlace ./ipfetch --replace /usr/share/ipfetch $out/usr/share/ipfetch/flags
|
substituteInPlace ./ipfetch --replace /usr/share/ipfetch $out/usr/share/ipfetch/flags
|
||||||
|
|
Loading…
Reference in a new issue