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 6
6
outputs = { self , nixpkgs } :
7
7
{
8
8
overlays . default = final : prev : {
9
+ nix-index-unwrapped = prev . nix-index-unwrapped . overrideAttrs ( old : {
10
+ patches = [ ./nix-index-https.patch ] ;
11
+ } ) ;
12
+
9
13
nixos-channel-native-programs = with final ; stdenv . mkDerivation {
10
14
name = "nixos-channel-native-programs" ;
11
15
buildInputs = [
48
52
brotli
49
53
jq
50
54
nixos-channel-native-programs
51
- nix-index
55
+ nix-index-unwrapped
52
56
] ;
53
57
54
58
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