4 ms·
> It's not like you can install packages from apt/yum/aur Yes you can. Here's a Nix derivation which makes a Debian chroot and runs 'apt-get update; apt-get in
by chriswarbo 5y ago
> It's not like you can install packages from apt/yum/aur
Yes you can. Here's a Nix derivation which makes a Debian chroot and runs 'apt-get update; apt-get install -y chromium' https://github.com/Warbo/warbo-utilities/blob/7087c3b46a97f3fe0280cb0da74b265558856b14/scripts/in-chromium-env.nix https://github.com/Warbo/warbo-utilities/blob/7087c3b46a97f3...
Here a Nix derivation for a helper script that runs the above chromium: https://github.com/Warbo/warbo-utilities/blob/7087c3b46a97f3fe0280cb0da74b265558856b14/scripts/chromium-launcher.nix https://github.com/Warbo/warbo-utilities/blob/7087c3b46a97f3...
On a similar note, here's a Nix derivation for Mozilla's Firefox binary (in an FHS env), along with a warning if it's not the latest version: http://chriswarbo.net/git/warbo-packages/git/branches/master/packages/firefoxBinary.nix.raw.html http://chriswarbo.net/git/warbo-packages/git/branches/master...
I wrote these once cache.nixos.org stopped providing "non-core" i686 binaries a few years ago, and I can't be bothered to build those large applications from source.
- mason55 5y agoOh yeah, great point! I was thinking of installing packages from apt/yum/aur directly with something like nix-env, but you're right, there's no reason you can't just use apt-get directly.