about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/cluster/nixops/update
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/cluster/nixops/update')
-rwxr-xr-xnixpkgs/pkgs/applications/networking/cluster/nixops/update11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/cluster/nixops/update b/nixpkgs/pkgs/applications/networking/cluster/nixops/update
new file mode 100755
index 000000000000..1d1fd93fdbea
--- /dev/null
+++ b/nixpkgs/pkgs/applications/networking/cluster/nixops/update
@@ -0,0 +1,11 @@
+#!/usr/bin/env nix-shell
+#! nix-shell -I nixpkgs=../../../../../. -i bash
+set -eux
+
+rm -f ./poetry.lock ./poetry-git-overlay.nix
+
+poetry lock
+
+# builtins.fetchGit is disabled in restricted eval
+# Pin fixed-output derivations from lock file
+poetry2nix lock