mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
commit
263905da4b
3 changed files with 4 additions and 4 deletions
|
@ -141,7 +141,7 @@ The result is a string.
|
||||||
|
|
||||||
Update [attribute set] *attrset1* with names and values from *attrset2*.
|
Update [attribute set] *attrset1* with names and values from *attrset2*.
|
||||||
|
|
||||||
The returned attribute set will have of all the attributes in *attrset1* and *attrset2*.
|
The returned attribute set will have all of the attributes in *attrset1* and *attrset2*.
|
||||||
If an attribute name is present in both, the attribute value from the latter is taken.
|
If an attribute name is present in both, the attribute value from the latter is taken.
|
||||||
|
|
||||||
[Update]: #update
|
[Update]: #update
|
||||||
|
|
|
@ -2,10 +2,10 @@ R""(
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|
||||||
* Show what `nixpkgs` resolves to:
|
* Show what `dwarffs` resolves to:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
# nix flake metadata nixpkgs
|
# nix flake metadata dwarffs
|
||||||
Resolved URL: github:edolstra/dwarffs
|
Resolved URL: github:edolstra/dwarffs
|
||||||
Locked URL: github:edolstra/dwarffs/f691e2c991e75edb22836f1dbe632c40324215c5
|
Locked URL: github:edolstra/dwarffs/f691e2c991e75edb22836f1dbe632c40324215c5
|
||||||
Description: A filesystem that fetches DWARF debug info from the Internet on demand
|
Description: A filesystem that fetches DWARF debug info from the Internet on demand
|
||||||
|
|
|
@ -181,7 +181,7 @@ struct CmdToBase : Command
|
||||||
|
|
||||||
void run() override
|
void run() override
|
||||||
{
|
{
|
||||||
warn("The old format conversion sub commands of `nix hash` where deprecated in favor of `nix hash convert`.");
|
warn("The old format conversion sub commands of `nix hash` were deprecated in favor of `nix hash convert`.");
|
||||||
for (auto s : args)
|
for (auto s : args)
|
||||||
logger->cout(Hash::parseAny(s, hashAlgo).to_string(hashFormat, hashFormat == HashFormat::SRI));
|
logger->cout(Hash::parseAny(s, hashAlgo).to_string(hashFormat, hashFormat == HashFormat::SRI));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue