packages/stop-using-nix-env: apply suggestion by NobbZ

Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
This commit is contained in:
Max Headroom 2022-08-06 16:22:26 +02:00
parent bc2118ed45
commit f2c859b0cf
2 changed files with 2 additions and 2 deletions

View file

@ -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}

View file

@ -69,7 +69,7 @@
Packages in Nix are usually bundled in attribute sets. Each
<i>attribute name</i> 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 <x-term>nix-env -i</x-term>,
attribute names are ignored. Instead, <x-term>nix-env</x-term> traverses
the entire attribute set to find a package with a matching