mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-08-17 00:30:21 +03:00
add: build_support directory there are 'plugins.nix' and other files that have documentation
This commit is contained in:
parent
29dd85487b
commit
59e2218b66
@ -20,6 +20,7 @@
|
||||
prepareData = prefix: ''
|
||||
cp -f ${nixpkgs-data.lib} ${prefix}/lib.json
|
||||
cp -f ${nixpkgs-data.trivial_builders} ${prefix}/trivial-builders.json
|
||||
cp -f ${nixpkgs-data.build_support} ${prefix}/build_support.json
|
||||
cp -f ${builtins-data}/lib/data.json ${prefix}/builtins.json
|
||||
'';
|
||||
|
||||
@ -74,20 +75,23 @@
|
||||
currently this list is manually maintained below.
|
||||
'';
|
||||
src = nixpkgs-master;
|
||||
outputs = [ "out" "lib" "trivial_builders" ];
|
||||
outputs = [ "out" "lib" "trivial_builders" "build_support" ];
|
||||
nativeBuildInputs = [ indexer ];
|
||||
buildPhase = ''
|
||||
echo "running nix metadata collect in nixpkgs/lib"
|
||||
${indexer}/bin/indexer --dir ./lib
|
||||
${indexer}/bin/indexer --dir ./pkgs/build-support/trivial-builders
|
||||
${indexer}/bin/indexer --dir ./pkgs/build-support
|
||||
'';
|
||||
installPhase = ''
|
||||
cat lib.json > $lib
|
||||
cat trivial-builders.json > $trivial_builders
|
||||
cat build-support.json > $build_support
|
||||
|
||||
mkdir $out
|
||||
ln -s $lib $out/lib
|
||||
ln -s $trivial_builders $out/trivial_builders
|
||||
ln -s $build_support $out/build_support
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user