Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
16 lines
485 B
Nix
16 lines
485 B
Nix
/*
|
|
purpose: mantain bleeding edge head sources.
|
|
|
|
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 }:
|
|
localTarName: publishedSrcSnapshot:
|
|
if config.sourceFromHead.useLocalRepos or false then
|
|
"${config.sourceFromHead.managedRepoDir or "/set/sourceFromHead.managedRepoDir/please"}/dist/${localTarName}"
|
|
else publishedSrcSnapshot
|