The nixGL
docs state that
You need to specify the same version of
nixpkgs
that yourprogram
is using. For example, replacenixos-21.11
withnixos-21.05
.nix run --override-input nixpkgs nixpkgs/nixos-21.11 --impure github:guibou/nixGL -- program
If the version that my program
is using is specified by flake.{nix,lock}
, how can I instruct --override-input
to use whatever is specified there?