chore(gitlab-ci): use nix develop instead of nix-shell

This commit is contained in:
Sarah Vaupel 2024-01-17 09:07:29 +01:00
parent 300955435f
commit 31a192f707
3 changed files with 4 additions and 8 deletions

View File

@ -42,8 +42,7 @@ node modules:
- .npm
- node_modules
script:
- "nix-shell --version"
- "nix-shell --command 'make node_modules'"
- "nix develop --command 'make node_modules'"
before_script: &nix-before
- git config --global init.defaultBranch master
- install -v -m 0700 -d ~/.ssh
@ -64,7 +63,7 @@ node modules:
frontend lint:
stage: lint
script:
- "nix-shell --comand 'make frontend-lint'"
- "nix develop --comand 'make frontend-lint'"
before_script: *nix-before
needs:
- job: node modules
@ -80,7 +79,7 @@ frontend build:
paths:
- .well-known-cache
script:
- "nix-shell --command 'make frontend-build'"
- "nix develop --command 'make frontend-build'"
before_script: *nix-before
needs:
- job: node modules

View File

@ -136,9 +136,6 @@
devShell = import ./shell.nix { pkgs = self.legacyPackages.${system}; nixpkgsPath = nixpkgs; };
legacyPackages = pkgs.lib.foldr (overlay: acc: acc // recursiveUpdate (overlay self.legacyPackages.${system} pkgs) pkgs) {} overlays;
defaultPackage = self.packages.${system}."uniworx:exe:uniworx";
defaultApp = self.apps.${system}."uniworx:exe:uniworx";
}
);
}

View File

@ -275,7 +275,7 @@ in pkgs.mkShell {
'';
nativeBuildInputs = [develop inDevelop killallUni2work diffRunning]
++ (with pkgs;
[ (builtins.trace (lib.version) stack) (builtins.trace (lib.version) nodejs_21) postgresql_12 openldap exiftool expat memcached minio minio-client
[ stack nodejs_21 postgresql_12 openldap exiftool expat memcached minio minio-client
gnumake gup reuse pre-commit
# busybox # for print services, but interferes with build commands in develop-shell
htop