summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre A. Gomes <andremegafone@gmail.com>2024-09-25 22:30:41 +0300
committerAndre A. Gomes <andremegafone@gmail.com>2024-09-27 14:11:40 +0300
commit8a459c1148515a882c87e8ba994d3734fd5d660d (patch)
tree9607ec8280d768fbe0d993a0f3df061aeb0e52bd
parentd88b380a8839f2f9f3b8f62da68ffc084241ef46 (diff)
Move shell.nix to the root.
-rw-r--r--.github/workflows/tests.yml22
-rw-r--r--shell.nix (renamed from build-scripts/shell.nix)2
2 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e509929c8..d35003bce 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -32,55 +32,55 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- name: Compile ${{matrix.renderer}} port on ${{matrix.os}}
- run: nix-shell build-scripts/shell.nix --run 'make all NYXT_RENDERER=${{matrix.renderer}}'
+ run: nix-shell shell.nix --run 'make all NYXT_RENDERER=${{matrix.renderer}}'
- name: Test ${{matrix.renderer}} port on ${{matrix.os}}
env:
NASDF_NON_INTERACTIVE_TESTS: true
# It runs the tests for system nyxt, not nyxt/${{matrix.renderer}}.
- run: nix-shell build-scripts/shell.nix --run 'make check'
+ run: nix-shell shell.nix --run 'make check'
- name: Test history-tree
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :history-tree)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :history-tree)'"
- name: Test nhooks
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nhooks)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nhooks)'"
- name: Test nfiles
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nfiles)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nfiles)'"
- name: Test nclasses
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nclasses)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nclasses)'"
- name: Test prompter
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :prompter)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :prompter)'"
- name: Test nkeymaps
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nkeymaps)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nkeymaps)'"
- name: Test njson
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:load-system :njson/cl-json)' --eval '(asdf:test-system :njson)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:load-system :njson/cl-json)' --eval '(asdf:test-system :njson)'"
- name: Test nsymbols
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nsymbols)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :nsymbols)'"
- name: Test ndebug
env:
NASDF_NON_INTERACTIVE_TESTS: true
- run: nix-shell build-scripts/shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :ndebug)'"
+ run: nix-shell shell.nix --run "sbcl --eval '(require \"asdf\")' --eval '(asdf:test-system :ndebug)'"
diff --git a/build-scripts/shell.nix b/shell.nix
index 04c934db4..4091fefa9 100644
--- a/build-scripts/shell.nix
+++ b/shell.nix
@@ -75,7 +75,7 @@ stdenv.mkDerivation {
shellHook =
''
- NYXT_ROOT=`dirname ${toString ../README.org}`;
+ NYXT_ROOT=`dirname ${toString ./README.org}`;
export CL_SOURCE_REGISTRY=$HOME/common-lisp//:$NYXT_ROOT/_build//:$CL_SOURCE_REGISTRY;
'';