Skip to content

Instantly share code, notes, and snippets.

@arilotter
Created June 19, 2023 22:07
Show Gist options
  • Save arilotter/d009fd11b989929af9163d42c700ab48 to your computer and use it in GitHub Desktop.
Save arilotter/d009fd11b989929af9163d42c700ab48 to your computer and use it in GitHub Desktop.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, ... }@inputs: inputs.utils.lib.eachSystem [ "aarch64-darwin" ]
(system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ ];
};
in
{
packages.default = pkgs.callPackage
({ lib, stdenv, pkgs }:
stdenv.mkDerivation {
pname = "test-test-test";
version = "0.1.0";
buildInputs = [
(pkgs.opencv3.override {
enableVtk = true;
})
];
}
)
{ };
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment