[CI] nix-command etc featuers for nix copy

parent ba826c64
......@@ -43,7 +43,7 @@ compile:
#- ${CI_PROJECT_DIR}/bun.lockb
script:
# 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-shell shell.nix --run fix-bun
......@@ -51,7 +51,7 @@ compile:
#- nix-shell shell.nix --run compile
# 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:
stage: test
......@@ -67,7 +67,7 @@ test:
#- ${CI_PROJECT_DIR}/bun.lockb
script:
# 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-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