Interpretation of error log - <stdin>:9:6: error: #error makeCWrapper: Unknown argument --suffix-each

nix log /nix/store/h6mxi8dqnsg25pwgr4p73gk6iql61fwi-python3-3.9.13-env.drv
created 256 symlinks in user environment
<stdin>: In function 'main':
<stdin>:9:6: error: #error makeCWrapper: Unknown argument --suffix-each
<stdin>:10:6: error: #error makeCWrapper: Unknown argument PATH
<stdin>:11:6: error: #error makeCWrapper: Unknown argument :
<stdin>:12:6: error: #error makeCWrapper: Unknown argument

How to get to know what that means?

1 Like

I have a similar issue:

$ nix log /nix/store/ylbpyg8zjcz7gw2jsp4cpgwh873y5kkw-python3-3.10.6-env.drv
created 4 symlinks in user environment
<stdin>: In function 'main':
<stdin>:9:6: error: #error makeCWrapper: Unknown argument --suffix-each
<stdin>:10:6: error: #error makeCWrapper: Unknown argument PATH
<stdin>:11:6: error: #error makeCWrapper: Unknown argument :
<stdin>:12:6: error: #error makeCWrapper: Unknown argument

To fix it, update your version of mach-nix. It was a bug which was fixed in this PR: https://github.com/DavHau/mach-nix/pull/445