From 36d81f2a30e322958786b183012aa152dc30077e Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 12 Apr 2024 15:22:07 +0200 Subject: [PATCH] First work packages --- pkgs/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index 1ffe446..608f363 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -1,6 +1,9 @@ { lib, pkgs, ... }: -{ - goPackages = import ./go { inherit lib pkgs; }; - nodePackages = import ./node { inherit lib pkgs; }; -} \ No newline at end of file +let + sources = [ + (import ./go { inherit lib pkgs; }) + (import ./node { inherit lib pkgs; }) + ]; +in +lib.foldl (a: b: a // b) {} sources \ No newline at end of file