[Nix-dev] Conflict between gfortran and gcc

Tom Short tshort.rlists at gmail.com
Thu Dec 19 19:33:26 CET 2013


Newbie here...

I'm trying to package a program that uses gfortran and g++. My problem is
that the Makefile sometimes uses gcc to compile c++ code. On most systems,
that works fine. With nix, gcc seems to point  to a version in gfortran and
not a version in  the gcc package. In a default.nix file, is there a way I
can make gcc point to the binary in the gcc package rather than the one in
the gfortran package?




More information about the nix-dev mailing list