Change:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on github to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the the current version of the package --- <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- : when I search the pulls for , I see . It's not obvious to me why this is relevant, but see below name: <!-- The current version can be found easily with the same process than above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 3.53.0 desired version: <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: This fails to build for me, crashing out on the build of (which is presumably where the link to pull comes from). Given this is apparently a failure in a dependency, it may be that will automatically start building again once this is resolved. If that's so, then this report is redundant; in which case, apologies. But I'll add it nonetheless in case the fix is not that automatic (I'm a bit vague about how fixes propagate around the wonderful wonderland of Nix). clang++ -mmacosx-version-min=10.7 -c -o htmldllhelpdata.o -DWXOSXCOCOA -DWXBUILDING -I./src/regex -DWXUSINGDLL -DWXMAKINGDLLHTML -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -DFILEOFFSETBITS=64 -I/private/tmp/nix-build-wxwidgets- -I./include -DASSERTMACROSDEFINEVERSIONSWITHOUTUNDERSCORES=1 -O2 -fno-strict-aliasing -fno-common -fvisibility=hidden -fvisibility-inlines-hidden fatal error: 'AVFoundation/AVFoundation.h' file not found #import <AVFoundation/AVFoundation.h^~~~~ 1 error generated. make: [Makefile:: mediadllosxcocoa_mediactrl.o] Error 1 make: Waiting for unfinished jobs.... builder for '/nix/store/wm81bmbkzk2ziyk5v3spdz4647n1v5vn-wxwidgets-' failed with exit code 2 cannot build derivation '/nix/store/y5b7m6vlp8l5046sf7g41bz88w2dv9gn-pwsafe-': 1 dependencies couldn't be built error: build of '/nix/store/y5b7m6vlp8l5046sf7g41bz88w2dv9gn-pwsafe-' failed This is with the unstable channel fully updated: $ nix-env -qa --drv-path --out-path pwsafe pwsafe-3.53.0 /nix/store/y5b7m6vlp8l5046sf7g41bz88w2dv9gn-pwsafe- /nix/store/lvikq70mprd98ny90glpsh04llzs77nz-pwsafe-3.53.0 Platform: macOS 10.15.7 (Catalina). Please tag this issue in your PR.
I just tested it on Linux, there it works just fine. Thank you for your report, and sorry that I cannot be of further assistance!
I marked this as stale due to inactivity. &rarr;

Discussion:
, curl , openssl , file <ins> , darwin </ins> , gitUpdater }: <ins> let inherit (darwin.apple_sdk.frameworks) Cocoa; in </ins> stdenv.mkDerivation rec { pname = "pwsafe"; version = "1.16.0"; # do NOT update to 3.x Windows releases

hash = "sha256-5/TOg+hiy22vlPJHheE638abhS3B5Jrul0Umgwu+gi0="; }; <ins> strictDeps = true; </ins> nativeBuildInputs = [ cmake gettext

]; buildInputs = [ <del> libXext libXi libXt libXtst </del> wxGTK32 curl qrencode <del> libuuid </del> openssl xercesc <ins> file ] ++ lib.optionals stdenv.isLinux [ libXext libXi libXt libXtst libuuid </ins> libyubikey yubikey-personalization <del> file </del> <ins> ] ++ lib.optionals stdenv.isDarwin [ Cocoa </ins> ]; cmakeFlags = [ "-DNO_GTEST=ON" "-DCMAKE_CXX_FLAGS=-I${yubikey-personalization}/include/ykpers-1" <ins> ] ++ lib.optionals stdenv.isDarwin [ "-DNO_YUBI=ON" </ins> ]; postPatch = ''

for f in $(grep -Rl /usr/bin/ .) ; do substituteInPlace $f --replace /usr/bin/ "" done <ins> '' + lib.optionalString stdenv.isDarwin '' substituteInPlace src/ui/cli/CMakeLists.txt --replace "uuid" "" </ins> ''; installFlags = [ "PREFIX=${placeholder "out"}" ];

''; homepage = "https://pwsafe.org/"; maintainers = with maintainers; [ c0bw3b pjones ]; <del> platforms = platforms.linux; </del> <ins> platforms = platforms.unix; </ins> license = licenses.artistic2; }; }