59f7481411
Unforeseen problem: `buildkite-agent` runs its builds in a separate directory, so if I want the `nix-build` command to build the newly checked out code, I need to set <briefcase> to the CWD.
10 lines
204 B
Nix
10 lines
204 B
Nix
let
|
|
briefcase = import <briefcase> {};
|
|
pkgs = briefcase.third_party.pkgs;
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
elmPackages.elm
|
|
elmPackages.elm-format
|
|
elmPackages.elm-live
|
|
];
|
|
}
|