kryptor: use nix-update-script
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
dotnetCorePackages,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
@@ -27,7 +28,7 @@ buildDotnetModule rec {
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru = {
|
||||
updateScript = ./update.sh;
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell --pure -i bash -p bash nix nix-update git cacert
|
||||
set -euo pipefail
|
||||
|
||||
nix-update kryptor
|
||||
$(nix-build . -A kryptor.fetch-deps --no-out-link)
|
||||
Reference in New Issue
Block a user