mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-12-25 23:13:30 +03:00
12 lines
375 B
Nix
12 lines
375 B
Nix
{ pkgs, nixpkgs, nix, ... }:
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "pasta";
|
|
src = ./src;
|
|
nativeBuildInputs = [ nix ];
|
|
buildPhase = ''
|
|
nix-instantiate --extra-experimental-features 'nix-command flakes' --eval --strict --json --store $PWD --show-trace \
|
|
eval.nix --arg 'pkgs' 'import ${nixpkgs} {}' --arg 'repo' '${nixpkgs.outPath}' -A all \
|
|
> $out
|
|
'';
|
|
}
|