2009-12-11 16:58:23 +03:00
|
|
|
/*
|
|
|
|
purpose: mantain bleeding edge head sources.
|
|
|
|
|
|
|
|
you run
|
|
|
|
app --update
|
|
|
|
app --publish
|
|
|
|
to create source snapshots
|
|
|
|
|
|
|
|
The documentation is availible at http://github.com/MarcWeber/nix-repository-manager/raw/master/README
|
|
|
|
|
|
|
|
*/
|
2012-09-19 21:56:56 +04:00
|
|
|
{ config }:
|
2009-12-11 16:58:23 +03:00
|
|
|
localTarName: publishedSrcSnapshot:
|
2012-09-19 21:56:56 +04:00
|
|
|
if config.sourceFromHead.useLocalRepos or false then
|
|
|
|
"${config.sourceFromHead.managedRepoDir or "/set/sourceFromHead.managedRepoDir/please"}/dist/${localTarName}"
|
2009-12-11 16:58:23 +03:00
|
|
|
else publishedSrcSnapshot
|