about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml5
-rw-r--r--flake.nix4
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; };
       };

Consider giving Nix/NixOS a try! <3