Attempt to build Socrates using BuildKite

Let's see what happens...
This commit is contained in:
William Carroll 2020-08-16 15:42:16 +01:00
parent 334616392b
commit 208883243f
3 changed files with 9 additions and 1 deletions

View file

@ -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));