Skip to content

Instantly share code, notes, and snippets.

@exarkun

exarkun/output Secret

Created September 17, 2019 15:51
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 exarkun/0f6922a7ba6e29735fca3e8316ab8227 to your computer and use it in GitHub Desktop.
Save exarkun/0f6922a7ba6e29735fca3e8316ab8227 to your computer and use it in GitHub Desktop.
{ fetchFromGitHub, callPackage }:
let
src = fetchFromGitHub {
owner = "LeastAuthority";
repo = "privacypass";
rev = "f74b371cdf179454f3ad540a4d0deea879fbe5e1";
sha256 = "0a020ks8awlpil58zcaj5apk1ls0q2y492wsh62kl529jp518v4b";
};
privacypass = callPackage "${src}/default.nix" { };
in
privacypass.overrideAttrs (old: {
patches = [
./remove-setuptools-scm.patch
];
})
these derivations will be built:
/nix/store/jwky1axiqb3fs9lx311qsr567ymxl3p9-python2.7-privacypass-0.0.0.drv
/nix/store/b6fxr75d426xkifbhzxb0jxznf5ggqmc-python2.7-zero-knowledge-access-pass-authorizer-0.0.drv
/nix/store/0bvmrjh4rrjhk08b3vw47qnf2fkj98zd-python-2.7.16-env.drv
building '/nix/store/jwky1axiqb3fs9lx311qsr567ymxl3p9-python2.7-privacypass-0.0.0.drv'...
unpacking sources
unpacking source archive /nix/store/mqqjh2490x4igk2q8d9lc9im0rmn6rc1-4m0hwizgrmhs12ziab46z98cmvivzhyx-privacypass-f74b371
source root is 4m0hwizgrmhs12ziab46z98cmvivzhyx-privacypass-f74b371
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file 4m0hwizgrmhs12ziab46z98cmvivzhyx-privacypass-f74b371/test.py
patching sources
applying patch /nix/store/zbrysh0h8cg0pkik96jy8lf3ks8555j4-remove-setuptools-scm.patch
patching file setup.py
configuring
building
running bdist_wheel
running build
running build_py
creating build/lib
creating build/lib/privacypass
copying privacypass/__init__.py -> build/lib/privacypass
creating build/lib/privacypass/tests
copying privacypass/tests/__init__.py -> build/lib/privacypass/tests
copying privacypass/tests/test_privacypass.py -> build/lib/privacypass/tests
copying dylib libchallenge_bypass_ristretto.so
error: [Errno 2] No such file or directory: '/nix/store/mqqjh2490x4igk2q8d9lc9im0rmn6rc1-4m0hwizgrmhs12ziab46z98cmvivzhyx-privacypass-f74b371/challenge-bypass-ristretto-ffi/src'
builder for '/nix/store/jwky1axiqb3fs9lx311qsr567ymxl3p9-python2.7-privacypass-0.0.0.drv' failed with exit code 1
cannot build derivation '/nix/store/0bvmrjh4rrjhk08b3vw47qnf2fkj98zd-python-2.7.16-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/0bvmrjh4rrjhk08b3vw47qnf2fkj98zd-python-2.7.16-env.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment