summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
committercashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
commit4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch)
treec296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /shell.nix
downloadrelic-4f49b16079b27d7ce633619e4cddfdf2bffbc952.tar.gz
initial commitHEADmaster
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
+ '';
+}