Re:NixOS – Purely Functional Linux Distribution
by lilyball on Friday November 02, 2018 @08:26PM
(#18367865)
I haven't ever tried this myself, but I was under the impression that the `--arg` and `--argstr` arguments to nix-env were supposed to let you change build options. So could you not say `nix-env -iA nixpkgs.ffmpeg-full --arg nonfreeLicensing true --arg fdkaacExtlib true --arg ffplayProgram false --arg qtFaststartProgram false`?
[ Parent
| on HN ]
Re:NixOS – Purely Functional Linux Distribution
by gmfawcett on Friday November 02, 2018 @08:41PM
(#18367935)
You may well be right. In my first attempts, I did try various combinations of `--arg` and `--argstr`, but I never succeeded in getting a proper build. That's why I ended up using the override approach instead. I understand a little bit more (very little!) about Nix now, so perhaps I should give it another try.