[CI] nix-command etc featuers for nix copy

parent ba826c64
Pipeline #6064 failed with stages
in 24 seconds
...@@ -43,7 +43,7 @@ compile: ...@@ -43,7 +43,7 @@ compile:
#- ${CI_PROJECT_DIR}/bun.lockb #- ${CI_PROJECT_DIR}/bun.lockb
script: script:
# restore old cache # restore old cache
- nix copy --from 'file:///tmp/nix-cache' - nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache'
- nix --extra-experimental-features "nix-command flakes" run .#fix-bun - nix --extra-experimental-features "nix-command flakes" run .#fix-bun
#- nix-shell shell.nix --run fix-bun #- nix-shell shell.nix --run fix-bun
...@@ -51,7 +51,7 @@ compile: ...@@ -51,7 +51,7 @@ compile:
#- nix-shell shell.nix --run compile #- nix-shell shell.nix --run compile
# store cache # store cache
- nix 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
...@@ -67,7 +67,7 @@ test: ...@@ -67,7 +67,7 @@ test:
#- ${CI_PROJECT_DIR}/bun.lockb #- ${CI_PROJECT_DIR}/bun.lockb
script: script:
# restore old cache # restore old cache
- nix copy --from 'file:///tmp/nix-cache' - nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache'
- nix --extra-experimental-features "nix-command flakes" run .#fix-bun - nix --extra-experimental-features "nix-command flakes" run .#fix-bun
#- nix-shell shell.nix --run fix-bun #- nix-shell shell.nix --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