euphonica: add updateScript
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
cargo,
|
||||
meson,
|
||||
ninja,
|
||||
@@ -35,6 +36,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
# to be dropped once there are stable releases
|
||||
extraArgs = [
|
||||
"--version=unstable"
|
||||
];
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-zFGFmiPozfBSIYxCu4fHynb2eh9emfVPtj3grPAoZeA=";
|
||||
|
||||
Reference in New Issue
Block a user