mirror of
https://github.com/nix-community/noogle.git
synced 2024-12-02 14:32:56 +03:00
12 lines
324 B
Nix
12 lines
324 B
Nix
{ pkgs, nixpkgs, nix, ... }:
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "pasta";
|
|
src = ./src;
|
|
nativeBuildInputs = [ nix ];
|
|
buildPhase = ''
|
|
nix-instantiate --eval --strict --json --store $PWD --show-trace \
|
|
eval.nix --arg 'pkgs' 'import ${nixpkgs} {}' --arg 'repo' '${nixpkgs.outPath}' -A all \
|
|
> $out
|
|
'';
|
|
}
|