Update a package: Difference between revisions

imported>Rapenne-s
Remove an example of nix-env as a way to install packages
imported>Rapenne-s
m Simply the stat command by removing the associated pipe
Line 204: Line 204:
* When the build succeeds, <tt>nix-build</tt> will leave the result linked as <tt>./result</tt> on the current working directory:
* When the build succeeds, <tt>nix-build</tt> will leave the result linked as <tt>./result</tt> on the current working directory:
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
$ stat ./result | head -n 1
$ stat -c %N ./result
   File: "./result" -> "/nix/store/agld76p9rgvn3j610z8kgppz67f8kmg7-i3-4.5.1"
   File: "./result" -> "/nix/store/agld76p9rgvn3j610z8kgppz67f8kmg7-i3-4.5.1"
</syntaxhighlight>
</syntaxhighlight>