aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-03-01 23:03:38 +0100
committerstuebinm2021-03-01 23:03:38 +0100
commitead8c570b6dfd00531bf7ada77e08bbd9955b731 (patch)
tree7a52e2a55277d4460da82b55a7e21f066d0dae7d
parent61bf48c71c8ae87c55ad7244ce202b6c9cf9c86c (diff)
fixed test.nix
Previously, it still assumed that there was an ./overlay.nix. Since overlays in general appear to be slightly broken and generate an unwieldy amount of infinite recursion, this is no longer the case and test.nix uses a (slightly uglier) method for testing instead.
-rw-r--r--test.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/test.nix b/test.nix
index c4d2f56..17b5f6d 100644
--- a/test.nix
+++ b/test.nix
@@ -1,9 +1,6 @@
-{ system ? builtins.currentSystem, nixpkgs ? <nixpkgs> }:
-
let
- pkgs = import nixpkgs { inherit system; overlays = [ (import ./overlay.nix) ]; };
-in {
- inherit pkgs;
- inherit (pkgs) workadventure;
-}
+ pkgs = import <nixpkgs> {};
+ wapkgs = import ./wapkgs.nix {inherit pkgs; lib = pkgs.lib; };
+in
+ wapkgs.workadventure