Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: makeCWrapper: unknown argument #175456

Closed
nagisa opened this issue May 30, 2022 · 1 comment
Closed

regression: makeCWrapper: unknown argument #175456

nagisa opened this issue May 30, 2022 · 1 comment

Comments

@nagisa
Copy link
Contributor

nagisa commented May 30, 2022

Describe the bug

Recently something changed/broke in the master of nixpkgs that's now causing previously succeeding builds fail with the following errors:

<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

Steps To Reproduce

nix-shell this:

let
  pkgs = (import (builtins.fetchTarball
  "https://github.com/NixOS/nixpkgs/archive/60a08714866da907bc9e63e49a157c8d20893520.tar.gz") {}).pkgs;
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix";
    ref = "refs/tags/3.3.0";
  }) { pkgs = pkgs; };
in with pkgs; mkShell {
  buildInputs = [
    (mach-nix.mkPython {
      requirements = ''
        semver
      '';
    })
  ];
}

Expected behavior

It should continue working as it did before

@hqurve
Copy link
Contributor

hqurve commented May 30, 2022

Error is in mach-nix. It should be fixed by DavHau/mach-nix#445

@hqurve hqurve closed this as completed Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants