about summary refs log tree commit diff stats
path: root/pkgs/standalone_pkgs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/standalone_pkgs.nix')
-rw-r--r--pkgs/standalone_pkgs.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/standalone_pkgs.nix b/pkgs/standalone_pkgs.nix
new file mode 100644
index 0000000..1eeaad3
--- /dev/null
+++ b/pkgs/standalone_pkgs.nix
@@ -0,0 +1,11 @@
+# `nix-update` wants a entry point similar to `release.nix`.
+# This means that we have to fetch our dependencies on our own.
+{}: let
+  get = input: import (builtins.fetchTree input.locked).outPath {};
+
+  lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes;
+  pkgs = get lock.nixpkgs;
+  pkgsUnstable = get lock.nixpkgs-unstable;
+  nixLib = get lock.library;
+in
+  import ./default.nix {inherit pkgs pkgsUnstable nixLib;}