From 56449e59d7aabd1c06fb67a51a1e129b55cb9270 Mon Sep 17 00:00:00 2001 From: yuuko Date: Thu, 29 Aug 2024 21:51:04 -0700 Subject: break out of system config --- default.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 default.nix (limited to 'default.nix') diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..6254ecb --- /dev/null +++ b/default.nix @@ -0,0 +1,7 @@ +let + purity = if builtins ? currentSystem then + import {} + else + throw "OOPS: srcds-nix/default.nix called without pkgs in a pure context"; +in +{ pkgs ? purity, ... }: pkgs.callPackage ./srcds-pkgs {} -- cgit v1.2.3