Skip to content

Commit 199f6de

Browse files
authored
Merge pull request #1572 from Plutonomicon/aciceri/refactor-nix-config
Put all `nixConfig` together
2 parents b506456 + 7cff9f2 commit 199f6de

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

flake.nix

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
description = "cardano-transaction-lib";
33

4-
nixConfig.bash-prompt = "\\[\\e[0m\\][\\[\\e[0;2m\\]nix-develop \\[\\e[0;1m\\]CTL@\\[\\033[33m\\]$(git rev-parse --abbrev-ref HEAD) \\[\\e[0;32m\\]\\w\\[\\e[0m\\]]\\[\\e[0m\\]$ \\[\\e[0m\\]";
4+
nixConfig = {
5+
extra-substituters = [ "https://plutonomicon.cachix.org" ];
6+
extra-trusted-public-keys = [ "plutonomicon.cachix.org-1:evUxtNULjCjOipxwAnYhNFeF/lyYU1FeNGaVAnm+QQw=" ];
7+
bash-prompt = "\\[\\e[0m\\][\\[\\e[0;2m\\]nix-develop \\[\\e[0;1m\\]CTL@\\[\\033[33m\\]$(git rev-parse --abbrev-ref HEAD) \\[\\e[0;32m\\]\\w\\[\\e[0m\\]]\\[\\e[0m\\]$ \\[\\e[0m\\]";
8+
};
59

610
inputs = {
711
nixpkgs.follows = "haskell-nix/nixpkgs-unstable";
@@ -509,9 +513,4 @@
509513

510514
herculesCI.ciSystems = [ "x86_64-linux" ];
511515
};
512-
513-
nixConfig = {
514-
extra-substituters = [ "https://plutonomicon.cachix.org" ];
515-
extra-trusted-public-keys = [ "plutonomicon.cachix.org-1:evUxtNULjCjOipxwAnYhNFeF/lyYU1FeNGaVAnm+QQw=" ];
516-
};
517516
}

0 commit comments

Comments
 (0)