summary refs log tree commit diff
path: root/nixos/lib/channel-expr.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/lib/channel-expr.nix')
-rw-r--r--nixos/lib/channel-expr.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/lib/channel-expr.nix b/nixos/lib/channel-expr.nix
new file mode 100644
index 00000000000..453bdd506b8
--- /dev/null
+++ b/nixos/lib/channel-expr.nix
@@ -0,0 +1,6 @@
+{ system ? builtins.currentSystem }:
+
+{ pkgs =
+    (import nixpkgs/default.nix { inherit system; })
+    // { recurseForDerivations = true; };
+}