peer-group-grading/flake.nix
2025-03-28 11:20:04 +01:00

32 lines
618 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs@{
self,
nixpkgs,
...
}:
let
forSystems = f: nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: f system);
pkgs' = system: nixpkgs.legacyPackages.${system};
in
{
devShells = forSystems (
system:
let
pkgs = pkgs' system;
in
{
default = pkgs.mkShell {
packages = with pkgs; [
corepack_latest
nodejs
];
};
}
);
};
}