Basic structure; day 1, 2
This commit is contained in:
11
flake.nix
Normal file
11
flake.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
outputs = { self, nixpkgs, systems }: let
|
||||
eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f { inherit system; pkgs = nixpkgs.legacyPackages.${system}; });
|
||||
in {
|
||||
devShells = eachSystem ({pkgs, ...}: {
|
||||
default = pkgs.mkShell {
|
||||
packages = [pkgs.rakudo pkgs.just pkgs.watchexec];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user