mainversion=$$(echo $$version | cut -d"." -f -2) && \
echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \
nix-instantiate --find-file nixpkgs
mainversion=$$(echo $$version | cut -d"." -f -2) && \
echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \
nix-instantiate --find-file nixpkgs