Update; also change from pname = "package-unstable"; version = "YYYY-MM-DD"; to pname = "package"; version = "unstable-YYYY-MM-DD"; This allows $pname as $repo in fetchFromGitHub and also seems to be the more common way in nixpkgs.