Skip to content

Commit 3a4fa84

Browse files
committed
Only allow webpki-roots to allow license CDLA-Permissive-2.0
1 parent d4b49df commit 3a4fa84

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

deny.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,7 @@ allow = ["BSL-1.0"]
8282
[[licenses.exceptions]]
8383
name = "clipboard-win"
8484
allow = ["BSL-1.0"]
85+
86+
[[licenses.exceptions]]
87+
name = "webpki-roots"
88+
allow = ["CDLA-Permissive-2.0"]

flake.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@
3333
};
3434
};
3535

36+
# Include the binary caches for my own projects and Noelware's as well.
37+
nixConfig = {
38+
extra-substituters = [
39+
# TODO: switch to https://nix.noel.pink
40+
"https://noel.cachix.org"
41+
42+
# TODO: switch to https://nix.noelware.org
43+
"https://noelware.cachix.org"
44+
];
45+
46+
extra-trusted-public-keys = [
47+
"noel.cachix.org-1:pQHbMJOB5h5VqYi3RV0Vv0EaeHfxARxgOhE9j013XwQ="
48+
"noelware.cachix.org-1:22A8ELRjkqEycSHz+R5A5ReX2jyjU3rftsBmlD6thn0="
49+
];
50+
};
51+
3652
outputs = {
3753
nixpkgs,
3854
systems,

nix/common.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{
1616
cargoTOML = builtins.fromTOML (builtins.readFile ../Cargo.toml);
1717
outputHashes = {
18-
"charted-core-0.1.0" = "sha256-gkHmwiymoLEusLHyTqs6fAViy/z0SLW+JG3L3CLnFAY=";
18+
"charted-core-0.1.0" = "sha256-l81zV65lncQGXYEPGn1gwVSb82+7iFbvCBaHo2hpOpE=";
1919
};
2020

2121
rustflags = stdenv:

0 commit comments

Comments
 (0)