From c5e1cd7bbb87783938dd6df7d6c280106e1421e0 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 7 Nov 2023 04:43:55 +0100 Subject: [PATCH] default.nix: Allow pure evaluation --- default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 0bd6a4511..9d3b730ef 100644 --- a/default.nix +++ b/default.nix @@ -1,8 +1,12 @@ -{ inputs ? import ./nix/sources.nix }: +{ + inputs ? import ./nix/sources.nix, + system ? builtins.currentSystem, +}: let pkgs = import inputs.nixpkgs { config = { }; overlays = [ (import ./overlay.nix) ]; + inherit system; }; nix-dev = pkgs.stdenv.mkDerivation {