summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..60742fb
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,25 @@
+let
+ sources = import ./npins;
+ pkgs = import sources.nixpkgs { };
+ coplandFossil = pkgs.callPackage ./nix/package.nix { inherit sources; };
+ projectRoot = toString ./.;
+in
+
+pkgs.mkShell {
+ inputsFrom = [ coplandFossil ];
+
+ packages = with pkgs; [
+ curl
+ git
+ nodejs_24
+ playwright-driver.browsers
+ ];
+
+ PLAYWRIGHT_BROWSERS_PATH = "${pkgs.playwright-driver.browsers}";
+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
+
+ shellHook = ''
+ export PATH="${projectRoot}/.build/fossil:$PATH"
+ export FOSSIL=fossil
+ '';
+}