Packaging/Binaries: Difference between revisions

imported>Mic92
imported>Mic92
update nix repl command
Line 114: Line 114:
The next step is to create a library path for all these packages. We use nix-repl to resolve the paths:
The next step is to create a library path for all these packages. We use nix-repl to resolve the paths:
<syntaxHighlight lang="console">
<syntaxHighlight lang="console">
$ nix-repl
$ nix repl '<nixpkgs>'
# load all variables from nixpkgs
nix-repl> :l <nixpkgs>
# .out can be omitted because this is the default output for all packages
# .out can be omitted because this is the default output for all packages
# makeLibraryPath outputs the correct path for each package to use as rpath
# makeLibraryPath outputs the correct path for each package to use as rpath