nexusmods-app: use nix-update-script

This commit is contained in:
Gutyina Gergő
2025-03-11 22:00:49 +01:00
parent b416182de9
commit c2e511c471
2 changed files with 2 additions and 10 deletions
+2 -1
View File
@@ -11,6 +11,7 @@
makeFontsConf,
runCommand,
xdg-utils,
nix-update-script,
pname ? "nexusmods-app",
}:
let
@@ -181,7 +182,7 @@ buildDotnetModule (finalAttrs: {
NexusMods.App list-tools
'';
};
updateScript = ./update.bash;
updateScript = nix-update-script { };
};
meta = {
@@ -1,9 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./. -i bash -p nix-update
#shellcheck shell=bash
set -o errexit -o nounset -o pipefail
package=nexusmods-app
nix-update "$package"
"$(nix-build --attr "$package".fetch-deps --no-out-link)"