noogle/pasta/flake-module.nix
2023-11-29 21:37:07 +01:00

14 lines
372 B
Nix

{ inputs, ... }: {
perSystem = { self', inputs', pkgs, ... }:
let
nix = inputs'.nix.packages.nix-clangStdenv;
nixpkgs = inputs.nixpkgs-migrated;
in
{
packages = {
pasta = pkgs.callPackage ./default.nix { inherit nixpkgs nix pkgs; };
};
devShells.pastaMaker = pkgs.callPackage ./shell.nix { inherit pkgs nix; };
};
}