diff options
Diffstat (limited to 'pkgs/applications/misc/nix-tour/default.nix')
-rw-r--r-- | pkgs/applications/misc/nix-tour/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/misc/nix-tour/default.nix b/pkgs/applications/misc/nix-tour/default.nix index 04f10de3d274..7e5a3a7840d7 100644 --- a/pkgs/applications/misc/nix-tour/default.nix +++ b/pkgs/applications/misc/nix-tour/default.nix @@ -1,15 +1,14 @@ { stdenv, fetchgit, electron } : stdenv.mkDerivation rec { - name = "nix-tour"; + name = "nix-tour-${version}"; + version = "0.0.1"; buildInputs = [ electron ]; - version = "v0.0.1"; - src = fetchgit { url = "https://github.com/nixcloud/tour_of_nix"; - rev = "refs/tags/${version}"; + rev = "v${version}"; sha256 = "09b1vxli4zv1nhqnj6c0vrrl51gaira94i8l7ww96fixqxjgdwvb"; }; @@ -34,4 +33,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ qknight ]; }; -}
\ No newline at end of file +} |