mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 20:20:26 +03:00
netlify-cli: adapt update script to new nix-prefetch-github
This commit is contained in:
parent
47cc11849c
commit
72c7fe7c62
@ -8,7 +8,7 @@ in
|
||||
export ESBUILD_BINARY_PATH="${pkgs.esbuild_netlify}/bin/esbuild"
|
||||
'';
|
||||
src = fetchFromGitHub {
|
||||
inherit (sourceInfo) owner repo rev sha256;
|
||||
inherit (sourceInfo) owner repo rev hash;
|
||||
};
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
|
@ -2,7 +2,7 @@
|
||||
set -eu -o pipefail
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
rm -f ./node-env.nix
|
||||
src="$(nix-build --expr 'let pkgs = import ../../../.. {}; meta = (pkgs.lib.importJSON ./netlify-cli.json); in pkgs.fetchFromGitHub { inherit (meta) owner repo rev sha256; }')"
|
||||
src="$(nix-build --expr 'let pkgs = import ../../../.. {}; meta = (pkgs.lib.importJSON ./netlify-cli.json); in pkgs.fetchFromGitHub { inherit (meta) owner repo rev hash; }')"
|
||||
echo $src
|
||||
node2nix \
|
||||
--input $src/package.json \
|
||||
|
@ -2,8 +2,5 @@
|
||||
"owner": "netlify",
|
||||
"repo": "cli",
|
||||
"rev": "6c7e8c9a4db4e2e408f65e6098a194497944e306",
|
||||
"sha256": "YMnQrurZDJtfeHBCIzy6vToGHnqtdRGvWFPX5RcWyPg=",
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"deepClone": false
|
||||
"hash": "sha256-YMnQrurZDJtfeHBCIzy6vToGHnqtdRGvWFPX5RcWyPg="
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user