diff --git a/packages/websites/stop-using-nix-env/project.nix b/packages/websites/stop-using-nix-env/project.nix index 1caff59..c5609e3 100644 --- a/packages/websites/stop-using-nix-env/project.nix +++ b/packages/websites/stop-using-nix-env/project.nix @@ -3,16 +3,16 @@ { packages.stop-using-nix-env = let site = with pkgs; stdenvNoCC.mkDerivation rec { - name = "stop-using-nix-env"; + pname = "stop-using-nix-env"; version = "1.1.1"; src = ./src; buildCommand = '' - install -Dm644 $src/* -t $out/share/www/${name} - substituteInPlace $out/share/www/${name}/index.html \ + install -Dm644 $src/* -t $out/share/www/${pname} + substituteInPlace $out/share/www/${pname}/index.html \ --replace '' 'Version ${version} |' ''; passthru = { - webroot = "${site}/share/www/${name}"; + webroot = "${site}/share/www/${pname}"; }; }; in site;