I use mutt+msmtp for 99% of my rather occasional email interactions, so losing msmtp for a short time is not a huge deal, however, this has happened a couple times in the last few months, so I’d like to solve it for real. Apparently, according to the log below, msmtp has a dependency on msmtp-scripts. Also, it appears that these scripts are python 2.7. I’ve looked at the package build for Arch and these scripts aren’t mentioned anywhere, so I’m confident that telling Nix to ignore the dependency won’t break anything. How do I tell Nix+Home Manager not to include msmtp scripts?

error: builder for '/nix/store/v76sg0q8rhlzkgwwq1rp545iydlnzmc1-python2.7-wheel-0.37.1.drv' failed with exit code 1;
       last 10 log lines:
       > stripping (with command strip and flags -S -p) in  /nix/store/mfmj7m941b9vyccljic6c52nsfnd42b6-python2.7-wheel-0.37.1/lib /nix/store/mfmj7m941b9vyccljic6c52nsfnd42b6-python2.7-wheel-0.37.1/bin
       > Rewriting #!/nix/store/sg8jaxzkipg3kyahi2n3v8zw83ydx6gx-python-2.7.18.7/bin/python2.7 to #!/nix/store/sg8jaxzkipg3kyahi2n3v8zw83ydx6gx-python-2.7.18.7
       > wrapping `/nix/store/mfmj7m941b9vyccljic6c52nsfnd42b6-python2.7-wheel-0.37.1/bin/wheel'...
       > Executing pythonRemoveTestsDir
       > Finished executing pythonRemoveTestsDir
       > pythonCatchConflictsPhase
       >   File "/nix/store/qzdnf36li7zrnr95dhpc1w1i61ifw4s6-catch_conflicts.py", line 16
       >     f"{dist._normalized_name} {dist.version} ({dist._path})"
       >                                                            ^
       > SyntaxError: invalid syntax
       For full logs, run 'nix log /nix/store/v76sg0q8rhlzkgwwq1rp545iydlnzmc1-python2.7-wheel-0.37.1.drv'.
error: 1 dependencies of derivation '/nix/store/04h3ndcbb0mw9vl22nfmx1yaqn2qbz5r-setuptools-setup-hook.drv' failed to build
error: 1 dependencies of derivation '/nix/store/c5wqjjyk8f3awa1fbxz51v9aq1jcj9fl-resholve-0.9.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kzdfs5klslkh3yaqw39iya66x41cxf2f-msmtp-scripts-1.8.22.drv' failed to build
error: 1 dependencies of derivation '/nix/store/spi8m78m5swi7cwnzl131pzhv2gs16gs-msmtp-1.8.22.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4s6l526798vcklywi5wyq8qlkqna6xqk-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6za0qs6267jxiyjpdyfakvfqcgllp8gl-home-manager-generation.drv' failed to build