Commit 1d060d25c5ca

Vincent Demeester <vincent@sbr.pm>
2022-09-02 18:18:49
users/vincent: rethink src/ shells
The main reason for this is, I may have these files without a `src/home`, so they need to be self-contained. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 91e7350
Changed files (3)
shells
users
vincent
shells/osp.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ pkgs ? import <nixpkgs> { }, ... }:
 let
   go = pkgs.go_1_18;
 in
shells/tekton.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ pkgs ? import <nixpkgs> { }, ... }:
 let
   go = pkgs.go_1_18;
 in
users/vincent/dev/default.nix
@@ -43,8 +43,8 @@
   # FIXME move this to a "work.redhat" configuration.
   # Upstream Tekton
   home.file."src/tektoncd/.envrc".source = ./src/tektoncd.envrc;
-  home.file."src/tektoncd/shell.nix".source = ./src/tektoncd.shell.nix;
+  home.file."src/tektoncd/shell.nix".source = ../../../shells/tekton.nix;
   # Downstream OSP
   home.file."src/osp/.envrc".source = ./src/osp.envrc;
-  home.file."src/osp/shell.nix".source = ./src/osp.shell.nix;
+  home.file."src/osp/shell.nix".source = ../../../shells/osp.nix;
 }