about summary refs log tree commit diff
path: root/assessments/dotted-squares/shell.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-17T09·08+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-20T10·26+0100
commit59f74814111045b6d74d2a8f5b4f4bfbd1cacd85 (patch)
treed87397c2b1f32bdc1d3df0ab4d4f62d1cf065426 /assessments/dotted-squares/shell.nix
parent7833632a7961038e8898ef287fd2dedf8fa7f33b (diff)
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.
Diffstat (limited to 'assessments/dotted-squares/shell.nix')
-rw-r--r--assessments/dotted-squares/shell.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/assessments/dotted-squares/shell.nix b/assessments/dotted-squares/shell.nix
index 75a72cb7e0ba..87eb23d731e2 100644
--- a/assessments/dotted-squares/shell.nix
+++ b/assessments/dotted-squares/shell.nix
@@ -1,5 +1,5 @@
 let
-  briefcase = import /home/wpcarro/briefcase {};
+  briefcase = import <briefcase> {};
 in briefcase.buildHaskell.shell {
   deps = hpkgs: with hpkgs; [
     hspec