From 6d20a6d77f995686cb903baafd9c262b9bf990e5 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 16 Feb 2022 02:35:22 +0300 Subject: some ci stuff whatevs --- .gitlab-ci.yml | 5 +---- 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; }; }; -- cgit 1.4.1