Hi, Im tring to package NTPoly, which requires a Fortran compiler.
I see gfortran13 is available in search.nixos.org.
I can install it with nix-shell -p gfortran13.
However when I add this as a build dependency in a flakei get the error
error: Function called without required argument "gfortran13" at <path-to-project>/ntpoly.nix:4, did you mean "gfortran10", "gfortran11" or "gfortran12"?
Thanks, it was the nixpkgs being out of date. I didn’t notice that it was tracking a particular version of the package index.
I needed to change nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-22.11"; to nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";