My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/infra/libkookie/nixpkgs/unstable/pkgs/build-support/source-from-head-fun.nix

16 lines
485 B

/*
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