Skip to content

Commit

Permalink
nix shell: fix attribute syntax
Browse files Browse the repository at this point in the history
had system and "default" swapped around
  • Loading branch information
jurraca committed Jan 31, 2025
1 parent 6e70ba6 commit 0c038a2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,29 @@
"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
# Python env and packages to run kartograf. To use, run 'nix develop'
# 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;
Expand Down

0 comments on commit 0c038a2

Please sign in to comment.