commit 1d060d25c5caaf347ef3dcc0252cc7fe3634b801
parent 91e735079c1c747586cc39c1c2fd57b64e7724a3
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 2 Sep 2022 18:18:49 +0200
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>
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/shells/osp.nix b/shells/osp.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ pkgs ? import <nixpkgs> { }, ... }:
let
go = pkgs.go_1_18;
in
diff --git a/shells/tekton.nix b/shells/tekton.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ pkgs ? import <nixpkgs> { }, ... }:
let
go = pkgs.go_1_18;
in
diff --git a/users/vincent/dev/default.nix b/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;
}