diff options
Diffstat (limited to '')
-rw-r--r-- | default.nix | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/default.nix b/default.nix index c77e02c..47254a6 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,8 @@ -with import <nixpkgs> {}; -lib.fix (self: let - callPackage = lib.callPackageWith self; -in pkgs // { - workadventure-back = callPackage ./back {}; - workadventure-pusher = callPackage ./pusher {}; - workadventure-messages = callPackage ./messages {}; - workadventure-front = callPackage ./front {}; - workadventure-uploader = callPackage ./uploader {}; - workadventure-maps = callPackage ./maps {}; -}) +{ system ? builtins.currentSystem, nixpkgs ? <nixpkgs> }: + +let + pkgs = import nixpkgs { inherit system; overlays = [ (import ./overlay.nix) ]; }; +in { + inherit pkgs; + inherit (pkgs) workadventure; +} |