From 08b934cf21d04ad18c4c8440b4764c639ed36200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Mon, 26 Jan 2026 21:08:18 +0100 Subject: [PATCH] {default,shell}.nix: remove sources from arguments --- default.nix | 6 +++--- shell.nix | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index 729c5d87..c6d15dab 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,6 @@ -{ - sources ? import ./npins, -}: +let + sources = import ./npins; +in { # for repl sessions inherit sources; diff --git a/shell.nix b/shell.nix index 1fc63cf4..31c91133 100644 --- a/shell.nix +++ b/shell.nix @@ -1,8 +1,11 @@ +let + sources = import ./npins; +in { - sources ? import ./npins, pkgs ? import sources.nixpkgs { overlays = map import [ ./nix/overlays/disko.nix + ./nix/overlays/npins.nix ]; }, withGHC ? false,