aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/interactive/raceattr.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-03 15:51:56 +0900
committerOphestra <cat@gensokyo.uk>2026-10-03 18:00:30 +0900
commitaeb0ac9a329a253baf516be6ecfbdc4a750c6df6 (patch)
tree275f7fd39936dfb65ee56e58163d1a2d816a7c36 /test/interactive/raceattr.nix
parent4b19686109b0962ea68dfe58feafffe3bac9c202 (diff)
internal/workflows: cache installed packages
This avoids re-downloading packages on every run. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/interactive/raceattr.nix')
-rw-r--r--test/interactive/raceattr.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/interactive/raceattr.nix b/test/interactive/raceattr.nix
deleted file mode 100644
index de54f4cf..00000000
--- a/test/interactive/raceattr.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ lib, pkgs, ... }:
-{
- security.wrappers.raceattr =
- let
- inherit (pkgs) buildGoModule;
- in
- {
- setuid = true;
- owner = "root";
- group = "root";
- source = "${
- (buildGoModule rec {
- name = "raceattr";
- pname = name;
- tags = [ "raceattr" ];
-
- src = builtins.path {
- name = "${pname}-src";
- path = lib.cleanSource ../sharefs;
- filter = path: type: (type == "directory") || (type == "regular" && lib.hasSuffix ".go" path);
- };
- vendorHash = null;
-
- preBuild = ''
- go mod init hakurei.app/raceattr >& /dev/null
- '';
- })
- }/bin/raceattr";
- };
-}