Use callPackage machinery for dependency resolution a bit more

This commit is contained in:
2023-10-13 19:02:39 +02:00
parent eb4b9b38d1
commit 2851d85d3d
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv,
callPackage,
lib,
pkgs,
cmake,
buildApps ? true,
}:
stdenv.mkDerivation {
name = "ajantv2-dev";
src = callPackage ./src.nix {};
nativeBuildInputs = [pkgs.cmake];
nativeBuildInputs = [ cmake ];
cmakeFlags =
[
+3 -1
View File
@@ -1,4 +1,6 @@
{ pkgs }: pkgs.fetchFromGitHub {
{ fetchFromGitHub }:
fetchFromGitHub {
owner = "aja-video";
repo = "ntv2";
rev = "refs/heads/main";