bscpkgs/garlic/pp/merge.nix

17 lines
230 B
Nix
Raw Normal View History

{
stdenv
}:
experiments:
with stdenv.lib;
stdenv.mkDerivation {
name = "merge.json";
preferLocalBuild = true;
phases = [ "installPhase" ];
installPhase = ''
cat ${concatStringsSep " " experiments} >> $out
'';
}