Skip to content

Commit

Permalink
Merge pull request #1572 from Plutonomicon/aciceri/refactor-nix-config
Browse files Browse the repository at this point in the history
Put all `nixConfig` together
  • Loading branch information
klntsky authored Dec 8, 2023
2 parents b506456 + 7cff9f2 commit 199f6de
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
description = "cardano-transaction-lib";

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\\]";
nixConfig = {
extra-substituters = [ "https://plutonomicon.cachix.org" ];
extra-trusted-public-keys = [ "plutonomicon.cachix.org-1:evUxtNULjCjOipxwAnYhNFeF/lyYU1FeNGaVAnm+QQw=" ];
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\\]";
};

inputs = {
nixpkgs.follows = "haskell-nix/nixpkgs-unstable";
Expand Down Expand Up @@ -509,9 +513,4 @@

herculesCI.ciSystems = [ "x86_64-linux" ];
};

nixConfig = {
extra-substituters = [ "https://plutonomicon.cachix.org" ];
extra-trusted-public-keys = [ "plutonomicon.cachix.org-1:evUxtNULjCjOipxwAnYhNFeF/lyYU1FeNGaVAnm+QQw=" ];
};
}

0 comments on commit 199f6de

Please sign in to comment.