NixOS / nix.dev

Official documentation for getting things done with Nix.
https://nix.dev
Creative Commons Attribution Share Alike 4.0 International
2.26k stars 238 forks source link

fix syntax error #972

Closed stablejoy closed 2 months ago

stablejoy commented 2 months ago

Update packaging-existing-software.md - fix syntax error in skeleton derivation example. Remove ; from

{ stdenv }:
stdenv.mkDerivation {   };

This gives error: syntax error, unexpected ';', expecting end of file

Removing the semicolon:

nix-instantiate --eval --expr '{ stdenv }: stdenv.mkDerivation {}'
<LAMBDA>