diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-16T14·42+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-20T10·26+0100 |
commit | 208883243fb9b2ea0d5d668c44b0da1d83850854 (patch) | |
tree | 56f4cf387099499458f5c8a83baf94de609d22e1 /nixos/socrates/configuration.nix | |
parent | 334616392b5887d2d17c9a0b118e6002a74e4bae (diff) |
Attempt to build Socrates using BuildKite
Let's see what happens...
Diffstat (limited to 'nixos/socrates/configuration.nix')
-rw-r--r-- | nixos/socrates/configuration.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix index 7d958dbdeb73..b9d2b23485bb 100644 --- a/nixos/socrates/configuration.nix +++ b/nixos/socrates/configuration.nix @@ -6,8 +6,8 @@ let # I'm building this using `nixos-rebuild`. When I better understand how to # build socrates using readTree, prefer defining this as an anonymous # function. - pkgs = import <nixpkgs> {}; briefcase = import <briefcase> {}; + pkgs = briefcase.third_party.pkgs; trimNewline = x: pkgs.lib.removeSuffix "\n" x; readSecret = x: trimNewline (builtins.readFile ("/etc/secrets/" + x)); |