https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
189 B
Nix
8 lines
189 B
Nix
{ mkDerivation, extra-cmake-modules, qtbase }:
|
|
|
|
mkDerivation {
|
|
pname = "attica";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ qtbase ];
|
|
outputs = [ "out" "dev" ];
|
|
}
|