mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
9 lines
212 B
Nix
9 lines
212 B
Nix
{ stdenv, callPackage, ... }@args:
|
|
let
|
|
extraArgs = removeAttrs args [ "callPackage" ];
|
|
in
|
|
if stdenv.isDarwin then
|
|
callPackage ./darwin.nix (extraArgs // { })
|
|
else
|
|
callPackage ./linux.nix (extraArgs // { })
|