diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-02-16 02:35:22 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-02-16 02:35:22 +0300 |
commit | 6d20a6d77f995686cb903baafd9c262b9bf990e5 (patch) | |
tree | 1346af5d0d8f9a6c38cc7be4da4682cb248da949 | |
parent | will this fix the pipeline? (diff) |
some ci stuff whatevs
-rw-r--r-- | .gitlab-ci.yml | 5 | ||||
-rw-r--r-- | flake.nix | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 168fac6..2242e13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,5 @@ --- -image: nixpkgs/nix-flakes:latest - -variables: - NIX_PATH: "nixpkgs=channel:nixpkgs-unstable" +image: nixpkgs/nix-flakes:nixos-21.11 before_script: - nix --version diff --git a/flake.nix b/flake.nix index 4e1023e..985cc57 100644 --- a/flake.nix +++ b/flake.nix @@ -94,14 +94,14 @@ }; }; - shells = { + devShells = { dev = project true; commit = pkgs.mkShell { inherit (self.checks.${system}.preCommit) shellHook; }; }; - devShell = self.shells.${system}.dev; + devShell = self.devShells.${system}.dev; }) // { overlay = _: _: { ${name} = self.defaultPackage; }; }; |