Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created October 17, 2018 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/da01ee1b0df8d9e82c167581ca7d1c68 to your computer and use it in GitHub Desktop.
Save grahamc/da01ee1b0df8d9e82c167581ca7d1c68 to your computer and use it in GitHub Desktop.
-------- Doc test failure --------
ID: function-library-lib.attrsets.getOutput-example
Executing:
{
actual = let
lib = import /home/grahamc/projects/nixpkgs/lib;
context = (
{
pkgs = {
hello = {
outputUnspecified = true;
dev = "/nix/store/00000000000000000000000000000000-hello-2.10-dev";
};
};
}
);
in with context; (
lib.attrsets.getOutput "dev" pkgs.hello
);
expect = (
"/nix/store/1100000000000000000000000000000000-hello-2.10-dev"
);
}
Expecting:
"/nix/store/1100000000000000000000000000000000-hello-2.10-dev"
Found:
'/nix/store/00000000000000000000000000000000-hello-2.10-dev'
----
9 passed, 1 failed
Retry failing examples with:
./functions/library/test.py --lib-dir /home/grahamc/projects/nixpkgs/lib function-library-lib.attrsets.getOutput-example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment