aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/unflake.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-05-28 14:20:39 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-05-28 14:20:39 +0200
commite1e1dfcaedbd9c6920fb111a81edb196fa6049fb (patch)
tree4fdda766729c893b2f0be7cde38e0546993784e7 /scripts/unflake.sh
parenttreewide: Format (diff)
downloadnixos-config-e1e1dfcaedbd9c6920fb111a81edb196fa6049fb.zip
treewide: Use unflake to de-duplicate flake inputs
Otherwise, we still have a lot of `nixpkgs` in the closure (they are just not visible with npins).
Diffstat (limited to 'scripts/unflake.sh')
-rwxr-xr-xscripts/unflake.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/unflake.sh b/scripts/unflake.sh
new file mode 100755
index 00000000..e4aa816d
--- /dev/null
+++ b/scripts/unflake.sh
@@ -0,0 +1,6 @@
+#! /usr/bin/env sh
+
+NIX_CONFIG="pure-eval = false" nix run -f https://codeberg.org/goldstein/unflake/archive/main.tar.gz unflake -- "$@"
+
+
+# vim: ft=sh