noogle/pasta/default.nix
Johannes Kirschbauer d4b799d1b1 test & refacotring
2024-01-07 17:20:35 +01:00

12 lines
277 B
Nix

{ pkgs, nixpkgs, nix, ... }:
pkgs.stdenv.mkDerivation {
name = "pasta";
src = ./src;
nativeBuildInputs = [ nix ];
buildPhase = ''
nix-instantiate --eval --strict --json --store $PWD \
eval.nix --arg 'pkgs' 'import ${nixpkgs} {}' -A all \
> $out
'';
}