From f2c859b0cfd86474f2960d16ff2c91eba853254e Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 6 Aug 2022 16:22:26 +0200 Subject: [PATCH] packages/stop-using-nix-env: apply suggestion by NobbZ Co-authored-by: Norbert Melzer --- packages/websites/stop-using-nix-env/project.nix | 2 +- packages/websites/stop-using-nix-env/src/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/websites/stop-using-nix-env/project.nix b/packages/websites/stop-using-nix-env/project.nix index 9128de2..187186d 100644 --- a/packages/websites/stop-using-nix-env/project.nix +++ b/packages/websites/stop-using-nix-env/project.nix @@ -4,7 +4,7 @@ packages.stop-using-nix-env = let site = with pkgs; stdenvNoCC.mkDerivation rec { name = "stop-using-nix-env"; - version = "1.0.0"; + version = "1.0.1"; src = ./src; buildCommand = '' install -Dm644 $src/* -t $out/share/www/${name} diff --git a/packages/websites/stop-using-nix-env/src/index.html b/packages/websites/stop-using-nix-env/src/index.html index 11d038d..96748cb 100644 --- a/packages/websites/stop-using-nix-env/src/index.html +++ b/packages/websites/stop-using-nix-env/src/index.html @@ -69,7 +69,7 @@ Packages in Nix are usually bundled in attribute sets. Each attribute name represents the name of a package. When installing packages declaratively through NixOS or Home Manager, or when declaring - a package's dependencies, these are referred to using their attribute + a package's dependencies, these are uniquely identified using their attribute name. When installing packages via nix-env -i, attribute names are ignored. Instead, nix-env traverses the entire attribute set to find a package with a matching