Hi, I can’t figure out how to start Nim development shell with nim
and nimble
available. The following flake gives me an error:
{
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
nim
nimPackages.nimble
];
};
}
);
}
error: undefined variable 'nimPackages'