nexusmods-app: use nix-update-script
This commit is contained in:
@@ -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)"
|
||||
Reference in New Issue
Block a user