[CI] no nix copy

parent c3d6be42
...@@ -35,15 +35,15 @@ compile: ...@@ -35,15 +35,15 @@ compile:
stage: compile stage: compile
cache: cache:
paths: paths:
- /tmp/nix-cache # - /tmp/nix-cache
#- /nix/store #- /nix/store
#- node_modules/ #- node_modules/
- output/ - output/
#- .spago/ #- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb #- ${CI_PROJECT_DIR}/bun.lockb
before_script: # before_script:
# restore old cache # # restore old cache
- nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache' || exit_code=$? # - nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache' || exit_code=$?
script: script:
- nix --extra-experimental-features "nix-command flakes" run .#fix-bun - nix --extra-experimental-features "nix-command flakes" run .#fix-bun
...@@ -51,9 +51,9 @@ compile: ...@@ -51,9 +51,9 @@ compile:
- nix --extra-experimental-features "nix-command flakes" run .#compile - nix --extra-experimental-features "nix-command flakes" run .#compile
#- nix-shell shell.nix --run compile #- nix-shell shell.nix --run compile
after_script: # after_script:
# store cache # # store cache
- nix --extra-experimental-features "nix-command flakes" copy --to 'file:///tmp/nix-cache' .#build # - nix --extra-experimental-features "nix-command flakes" copy --to 'file:///tmp/nix-cache' .#build
test: test:
stage: test stage: test
...@@ -61,15 +61,15 @@ test: ...@@ -61,15 +61,15 @@ test:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- /tmp/nix-cache # - /tmp/nix-cache
#- /nix/store #- /nix/store
#- node_modules/ #- node_modules/
- output/ - output/
#- .spago/ #- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb #- ${CI_PROJECT_DIR}/bun.lockb
before_script: # before_script:
# restore old cache # # restore old cache
- nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache' || exit_code=$? # - nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache' || exit_code=$?
script: script:
- nix --extra-experimental-features "nix-command flakes" run .#fix-bun - nix --extra-experimental-features "nix-command flakes" run .#fix-bun
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment