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