From 8660669e2d648775ffe443aa1d7dfb46a82aafc8 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 13 Oct 2021 16:00:31 +0530 Subject: fix --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3308ce1..e341db6 100644 --- a/flake.nix +++ b/flake.nix @@ -10,13 +10,12 @@ , nixpkgs }: let + allPrograms = [ 1 2 ]; supportedSystems = [ "x86_64-linux" ]; forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f system); - nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; } ); - in { devShell = forAllSystems @@ -33,7 +32,7 @@ (system: let pkgs = nixpkgsFor."${system}"; - execs = with builtins; map toString [ 1 2 ]; + execs = with builtins; map toString allPrograms; mkApp = name: with pkgs; stdenv.mkDerivation { name = "${name}"; src = ./src; -- cgit v1.2.3