tvl-depot/scratch/brilliant/default.nix
William Carroll 59f7481411 Revise previous opinions about absolute paths GT <bracket-notation>
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.
2020-08-20 11:26:31 +01:00

16 lines
318 B
Nix

let
briefcase = import <briefcase> {};
in briefcase.buildHaskell.program {
name = "transform-keyboard";
srcs = builtins.path {
path = ./.;
name = "transform-keyboard-src";
};
deps = hpkgs: with hpkgs; [
optparse-applicative
unordered-containers
split
rio
];
ghcExtensions = [];
}