File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 66 outputs = { self , nixpkgs } :
77 {
88 overlays . default = final : prev : {
9+ nix-index-unwrapped = prev . nix-index-unwrapped . overrideAttrs ( old : {
10+ patches = [ ./nix-index-https.patch ] ;
11+ } ) ;
12+
913 nixos-channel-native-programs = with final ; stdenv . mkDerivation {
1014 name = "nixos-channel-native-programs" ;
1115 buildInputs = [
4852 brotli
4953 jq
5054 nixos-channel-native-programs
51- nix-index
55+ nix-index-unwrapped
5256 ] ;
5357
5458 buildCommand = ''
Original file line number Diff line number Diff line change 1+ diff --git a/src/lib.rs b/src/lib.rs
2+ index 4393e4b..4a84fc0 100644
3+ --- a/src/lib.rs
4+ +++ b/src/lib.rs
5+ @@ -23,4 +23,4 @@ pub mod workset;
6+ /// The URL of the binary cache that we use to fetch file listings and references.
7+ ///
8+ /// Hardcoded for now, but may be made a configurable option in the future.
9+ - pub const CACHE_URL: &str = "http://cache.nixos.org";
10+ + pub const CACHE_URL: &str = "https://cache.nixos.org";
You can’t perform that action at this time.
0 commit comments