From 0c038a2de3a2c8153b4a086fed2765aeed3cab67 Mon Sep 17 00:00:00 2001 From: jurraca Date: Fri, 31 Jan 2025 16:15:04 +0000 Subject: [PATCH] nix shell: fix attribute syntax had system and "default" swapped around --- flake.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 3f4028e..89a97a6 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ "aarch64-darwin" ]; - nixpkgsFor = system: import nixpkgs { inherit system;}; + nixpkgsFor = system: import nixpkgs {inherit system;}; in { # This flake exposes the following attributes: # * A development shell containing the rpki-client and the necessary @@ -28,20 +28,21 @@ # in the current directory. # * A default/kartograf package # * A NixOS module - devShells.default = forAllSystems (system: let + devShells = forAllSystems (system: let pkgs = nixpkgsFor system; pythonDevDeps = pkgs.python311.withPackages (ps: [ ps.beautifulsoup4 ps.pandas ps.pylint - ps.pytest + ps.pytest ps.requests ps.tqdm ]); - in - pkgs.mkShell { + in { + default = pkgs.mkShell { packages = [pythonDevDeps rpki-cli.defaultPackage.${system}]; - }); + }; + }); packages = forAllSystems (system: let pkgs = nixpkgsFor system;