Pedro Pombeiro 373291bfc0
nix: Avoid bad practice of inheriting pkgs
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-21 12:15:56 +02:00

25 lines
318 B
Nix

{ stdenv, callPackage,
conan, nsis, go }:
with stdenv;
assert isLinux;
let
baseImage = callPackage ./base-image { };
in
{
buildInputs = lib.optionals isLinux [
conan
nsis
baseImage
go # Needed for Windows build only
];
shellHook = ''
${baseImage.shellHook}
unset QT_PATH
'';
}