9 lines
225 B
Nix
9 lines
225 B
Nix
|
{ stdenv, callPackage, ... }@args:
|
||
|
let
|
||
|
extraArgs = removeAttrs args [ "callPackage" ];
|
||
|
in
|
||
|
if stdenv.hostPlatform.isDarwin then
|
||
|
callPackage ./darwin.nix (extraArgs // { })
|
||
|
else
|
||
|
callPackage ./linux.nix (extraArgs // { })
|