mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-12-24 22:42:58 +03:00
12 lines
277 B
Nix
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
|
|
'';
|
|
}
|