@Dekker1@hachyderm.io
@Dekker1@hachyderm.io avatar

Dekker1

@Dekker1@hachyderm.io

OPTIMA Research Fellow working on Programming Languages & Optimization at Monash University, Melbourne, Australia. A developer of the MiniZinc language. Apart from work, I also post about music, birds, cycling, cricket, and other things I like.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Dekker1, to melbourne
@Dekker1@hachyderm.io avatar

The rain in was crazy today, but on a positive note: we now own waterside property.

Video of the water overflow of the creek next to our garden

Dekker1, to random
@Dekker1@hachyderm.io avatar

I started with . I've loved the general idea of their package management for a while, but the system seems a lot more complex than I would have liked.

I'm now struggling with an issue to create my own flake, but I'm disappointed that no one has responded so far in what seems like such an active community (https://discourse.nixos.org/t/compilation-error-when-using-cbc-package-as-part-of-a-flake-on-macos/36745). Maybe it is not as MacOS friendly as I thought.

Dekker1,
@Dekker1@hachyderm.io avatar

@emattiza Thank you for having a look. I did think that the problem was that it was using clang rather than GCC, but I don't really understand why the stdenv.cc.isClang check in the CBC package isn't doing the trick.

I'll try the stdenv override, but I would imagine that this would have the same issue. Doesn't it just force clang to be used, and as such would need the flag to still be set?

Dekker1,
@Dekker1@hachyderm.io avatar

@emattiza I'm on a arm system, but I don't know whether it makes a difference, since I think the error stems from the codebase together with clang on C++17.

Dekker1,
@Dekker1@hachyderm.io avatar

@emattiza I tried the stdenv = pkgs.clangStdenv; override the the top-level of the flake, but this doesn't seem to make a difference.

Dekker1,
@Dekker1@hachyderm.io avatar

@emattiza I managed to find a workaround: https://discourse.nixos.org/t/compilation-error-when-using-cbc-package-as-part-of-a-flake-on-macos/36745/2?u=dekker1
I have no idea why that works.

I'm not sure whether the issue you linked is related, but the isClang check certainly seems to come from one of the linked issues there: https://github.com/NixOS/nixpkgs/issues/234710

Dekker1, to random
@Dekker1@hachyderm.io avatar

Hi Mastodon!

I'm a computer scientist working on the #MiniZinc modelling language. The perfect way to model your #optimization / #orms problems. (At least if you you were to ask me).

As an #OPTIMA research fellow at #Monash University, I generally love research into programming languages & combinatorial optimisation methods.

When I don't have anything to say about work, you may find me posting about my hobbies, such as music, birds, cycling, and cricket, instead.
#introduction #introductions

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • ngwrru68w68
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • GTA5RPClips
  • rosin
  • osvaldo12
  • tacticalgear
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • modclub
  • everett
  • provamag3
  • cubers
  • cisconetworking
  • ethstaker
  • Durango
  • mdbf
  • anitta
  • megavids
  • normalnudes
  • tester
  • lostlight
  • All magazines