Nix vs. Linux Standard Base: Difference between revisions

imported>Fadenb
Created page with "==I want a package installed in the system== In most distributions, asking for a package to be installed, means having all its files available in the root filesystem (<code>/{..."
 
imported>Makefu
No edit summary
Line 33: Line 33:


To achieve a change in the files installed in nixpkgs, you either patch the nix expression that builds your program (in the [https://nixos.org/nixpkgs/manual/#sec-stdenv-phases phase] maybe - this may be a very easy task to do), or find another way of achieving your goal. By goal, I mean what you meant to achive changing one of the files installed. Maybe you can pass a parameter to the program, or use environment variables.
To achieve a change in the files installed in nixpkgs, you either patch the nix expression that builds your program (in the [https://nixos.org/nixpkgs/manual/#sec-stdenv-phases phase] maybe - this may be a very easy task to do), or find another way of achieving your goal. By goal, I mean what you meant to achive changing one of the files installed. Maybe you can pass a parameter to the program, or use environment variables.
[[Category:Discussion]]