2024-05-13 21:24:10 +00:00
|
|
|
/* purpose: mantain bleeding edge head sources.
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
you run
|
|
|
|
app --update
|
|
|
|
app --publish
|
|
|
|
to create source snapshots
|
|
|
|
|
|
|
|
The documentation is availible at https://github.com/MarcWeber/nix-repository-manager/raw/master/README
|
|
|
|
*/
|
|
|
|
{ config }:
|
2024-05-13 21:24:10 +00:00
|
|
|
localTarName: publishedSrcSnapshot:
|
|
|
|
if config.sourceFromHead.useLocalRepos or false then
|
|
|
|
"${
|
|
|
|
config.sourceFromHead.managedRepoDir or "/set/sourceFromHead.managedRepoDir/please"
|
|
|
|
}/dist/${localTarName}"
|
|
|
|
else
|
|
|
|
publishedSrcSnapshot
|