mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
bac4d95aa2
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
17 lines
485 B
Nix
17 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
|