idun-apptainer-nix/flake.nix

30 lines
607 B
Nix

{
outputs = {
self,
nixpkgs,
...
} @ inputs:
let
forSystems = systems: f: nixpkgs.lib.genAttrs systems (system: f rec {
inherit system;
pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.legacyPackages.${system}.lib;
});
forAllSystems = forSystems [
"x86_64-linux"
"aarch64-linux"
];
in {
devShells = forAllSystems ({ pkgs, ...}: {
default = pkgs.mkShell {
packages = with pkgs; [
remote-exec
(python3.withPackages (ps: with ps; [
typer
]))
];
};
});
};
}