add unzip to nativeBuildInputs
This commit is contained in:
parent
81e513b092
commit
08b82a83fc
|
@ -9,7 +9,6 @@ stdenv.mkDerivation {
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
nativeBuildInputs = [unzip];
|
nativeBuildInputs = [unzip];
|
||||||
buildInputs = [unzip];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
|
|
|
@ -9,7 +9,6 @@ stdenv.mkDerivation {
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
nativeBuildInputs = [unzip];
|
nativeBuildInputs = [unzip];
|
||||||
buildInputs = [unzip];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
|
|
|
@ -32,6 +32,7 @@ final: prev: rec {
|
||||||
url = "https://github.com/grocy/grocy/releases/download/v${version}/grocy_${version}.zip";
|
url = "https://github.com/grocy/grocy/releases/download/v${version}/grocy_${version}.zip";
|
||||||
hash = "sha256-3ci1hB+Q1B8c6Tz4v5r1jX7n5lG1cFWaMjBi7smnndk=";
|
hash = "sha256-3ci1hB+Q1B8c6Tz4v5r1jX7n5lG1cFWaMjBi7smnndk=";
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [final.unzip];
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unzip ${src} -d .
|
unzip ${src} -d .
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue