Skip to content

Instantly share code, notes, and snippets.

@teburd
Last active December 4, 2020 00:08
Show Gist options
  • Save teburd/1d6556fd4d981b246104adf53c2b234a to your computer and use it in GitHub Desktop.
Save teburd/1d6556fd4d981b246104adf53c2b234a to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {
overlays = [
( self: super: {
libnats-c = super.libnats-c.override rec {
version = "2.3.0";
src = super.fetchFromGitHub {
owner = "nats-io";
repo = "nats.c";
rev = "refs/tags/v${version}";
sha256 = "0000000000000000000000000000000000000000000000000000";
};
cmakeFlags = [ "-DNATS_BUILD_TLS_USE_OPENSSL_1_1_API=ON" "-DNATS_BUILD_STREAMING=OFF" ];
nativeBuildInputs = [ super.cmake ];
buildInputs = [ super.openssl ];
};
})
];
}
}:
@teburd
Copy link
Author

teburd commented Dec 4, 2020

error: while evaluating the attribute 'buildInputs' of the derivation 'adapter-2.1' at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11:
while evaluating 'getOutput' at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:143:17, called from undefined position:
while evaluating anonymous function at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/lib/customisation.nix:77:32, called from /code/tburdick/oes/openfmb.adapters/default.nix:4:19:
while evaluating 'makeOverridable' at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/lib/customisation.nix:67:24, called from /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/lib/customisation.nix:77:41:
anonymous function at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/pkgs/development/libraries/libnats-c/default.nix:1:1 called with unexpected argument 'version', at /nix/store/xpj58cfp58y8d5pj95yl3hnpa6c62hs0-nixpkgs-21.03pre249027.f4254fba4f2/nixpkgs/lib/customisation.nix:69:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment