-
Notifications
You must be signed in to change notification settings - Fork 41
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
Haskell.nix: error: The Nixpkgs package set does not contain the package: m (system dependency). #135
Comments
libm, maybe? You might be better off asking in nix discord or nix IRC. |
@lemmih Do you know which
|
All Haskell code compiled with GHC uses libm. This is not an hgeometry issue; It's a nix issue. I suggest you ask in the nix discord or IRC servers. |
@lemmih I was directed to here by the The error is an issue with |
Well, I can promise you it's not an hgeometry issue. But feel free to post the solution here when you find it. |
@o1lo01ol1o I ran into this issue too and fixed it. I just added self: super:
{
m = self.stdenv.mkDerivation {
name = "m";
unpackPhase = "true";
installPhase = "mkdir -p $out";
};
} |
@o1lo01ol1o When x-compiling to Windows ( self: super:
{
m = self.stdenv.mkDerivation {
name = "m";
unpackPhase = "true";
# We have to create lib and bin to make it "look like"
# a library
installPhase = ''
mkdir -p $out/lib
mkdir -p $out/bin
'';
};
} |
FYI @o1lo01ol1o @peterbecich input-output-hk/haskell.nix#1453 fixes this issue upstream. I confirmed on |
Hi, started a project with this as a dependency using haskell.nix, but something in
hgeometry
is trying to pull in a dependency called "m" that my system is unable to find. Do you have any idea what this might be?The text was updated successfully, but these errors were encountered: