anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / build-support / source-from-head-fun.nix
blob938df1efd18a054f442ec632c88e7cbc55387a07
1 /*
2    purpose: mantain bleeding edge head sources.
4    you run
5    app --update
6    app --publish
7    to create source snapshots
9    The documentation is availible at https://github.com/MarcWeber/nix-repository-manager/raw/master/README
12 { config }:
13   localTarName: publishedSrcSnapshot:
14   if config.sourceFromHead.useLocalRepos or false then
15     "${config.sourceFromHead.managedRepoDir or "/set/sourceFromHead.managedRepoDir/please"}/dist/${localTarName}"
16   else publishedSrcSnapshot