mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
pkgs/nekofetch: Done correctly
This commit is contained in:
parent
f8605cbc4f
commit
46aee1397b
1 changed files with 10 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchFromGitHub, lib, stdenv, jp2a, imagemagick, curl, neofetch }:
|
||||
{ fetchFromGitHub, makeWrapper, lib, stdenv, jp2a, imagemagick, curl, neofetch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nekofetch";
|
||||
|
|
@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "03p1br1pn9j9nsdjg29rdznm5qh34p8dx0834rgmlc3pxlr910ng";
|
||||
};
|
||||
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildPhase = ''true'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
@ -18,5 +21,10 @@ stdenv.mkDerivation rec {
|
|||
cp $src/nekofetch $out/bin/
|
||||
'';
|
||||
|
||||
buildInputs = [ jp2a imagemagick curl neofetch ];
|
||||
nekoPath = lib.makeBinPath [ jp2a imagemagick curl neofetch ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/nekofetch --prefix PATH : $nekoPath
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue