mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01: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
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
|