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