nix-bundle VS nixGL

Compare nix-bundle vs nixGL and see what are their differences.

nix-bundle

Bundle Nix derivations to run anywhere! (by matthewbauer)
Nix

nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou] (by nix-community)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
nix-bundle nixGL
8 26
593 600
- 5.3%
1.0 5.1
2 months ago 6 days ago
Nix Nix
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nix-bundle

Posts with mentions or reviews of nix-bundle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-12.
  • Our Fastest, Most Beautiful Release Ever: Thunderbird 115 “Supernova” Is Here
    6 projects | news.ycombinator.com | 12 Jul 2023
    I admit that there is an element of, "but I chose an obscure and challenging linux variant, waaah why isn't it supported" here, but (a) there's currently no flatpak and (b) when, for goodness sakes, will major linux projects begin packaging for Nix/NixOS as a matter of course?

    It's not hard, and the benefits go far outside merely supporting Nix, as e.g. a flake.nix file would allow this project to generate docker images, and appImage images, as basically afterthoughts. (See e.g. https://github.com/matthewbauer/nix-bundle.)

    Nix flake support would also provide a perfectly reproducible build environment, which can help clarify dependencies, and thus help the project build achieve idempotence, but I'll save the full shill for some github issue.

    In fact, I'm inclined to roll up my shirtsleeves and help make this real.

  • Container runtime as a static binary?
    4 projects | /r/linux | 21 Jan 2023
    https://github.com/matthewbauer/nix-bundle perhaps?
  • Pushing/marketing the nix package manager as a Flatpak/Snap competitor?
    2 projects | /r/NixOS | 25 Nov 2021
    Another way to approach this would be to advocate Nix as the build system for Flatpak or AppImage. Don't know what the status is of nix-bundle, but if it is possible to turn a Nix package into an AppImage with little extra work that would be ideal.
  • Flaptak (and Snap) is not the future
    10 projects | news.ycombinator.com | 23 Nov 2021
    Nix itself is more focused on "distribute from this host with nix, to this other host with nix".

    Though, here is e.g. https://github.com/matthewbauer/nix-bundle, which is supported as an experimental command in nix 2.4.

  • Nix-bundle: package Nix attributes into single-file executables
    1 project | news.ycombinator.com | 7 Nov 2021
  • Does Nix or NixOS address the problem raised by Linus Torvalds on package management?
    3 projects | /r/NixOS | 7 Nov 2021
    I believe this tool does: https://github.com/matthewbauer/nix-bundle
  • NixOS 21.05 Released
    39 projects | news.ycombinator.com | 2 Jun 2021
    Yes, it's extremely powerful once you truly understand Nix.

    There are efforts to improve documentation, but it still is lacking (I think the biggest problem is that Nix is so big, not just the OS but it can be utilized as a build system).

    Just with NixOS is not exactly clear how can you for example build your custom image.

    I think https://nix.dev/ is approaching the documentation from the right direction.

    There are also many pieces that people built that you need to find.

    For example some things that I found accidentally:

    * https://github.com/matthewbauer/nix-bundle

    * https://github.com/cleverca22/not-os

    Unfortunately those side projects often have even worse documentation.

nixGL

Posts with mentions or reviews of nixGL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-28.
  • Ask HN: Are there wrapper/runner programs that encrypt writes and decrypt reads?
    1 project | news.ycombinator.com | 22 Apr 2024
    How can a program accomplish this? by using/doing something like virtualization? emulation? syscall/API translation? e.g. like WINE?

      [1] https://github.com/nix-community/nixGL
  • Nix without NixOS, how doable is this and how much do I miss?
    2 projects | /r/NixOS | 28 Sep 2023
    Essentially, running stuff that needs GL graphics is a bit funky... There's a workaround called nixGL though.
  • Calibre Replacement Considerations
    6 projects | news.ycombinator.com | 2 Sep 2023
    I think installing Calibre is a good use case for installing Nix (www.nixos.org).

    Unfortunately, you might also need https://github.com/guibou/nixGL to run graphical apps under Nix. It's a shell script to use the correct OpenGL library.

  • Nix-env apps on Debian unable to be executed via GUI KDE.
    1 project | /r/NixOS | 30 Jun 2023
    Try the NixGL wrapper.
  • Issue: with python-matplotlib
    1 project | /r/NixOS | 19 May 2023
    Are you running the Nix package manager on not-NixOS? If so I recall needing NixGL for OpenGL integration.
  • How do I update packages when using home-manager?
    2 projects | /r/NixOS | 7 Apr 2023
    $ nix-channel --list home-manager https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz nixgl https://github.com/guibou/nixGL/archive/main.tar.gz nixos https://nixos.org/channels/nixos-unstable
  • functional
    2 projects | /r/linuxmemes | 24 Mar 2023
    Needs a separate program to run GUI applications on non-NixOS systems
  • Imagine your entire purpose being made completely obsolete by a single compiler option
    1 project | /r/linuxmemes | 22 Feb 2023
    IMO the proper solution to this is Nix/Guix, since they have the best of both worlds (sharing libraries where possible, but allowing different versions where needed). Shame that libGL is a mess and as such is difficult to get right in this way, and as such you need hacks like https://github.com/guibou/nixGL for most GUI stuff. That said, people are working on improving the situation.
  • Setting up my new laptop: Nix style
    5 projects | news.ycombinator.com | 24 Dec 2022
    I get what you mean, but keep in mind that for every distro you're reliant on the community to get nvidia support integrated. Also if you only have few apps that require it, then the nixGL flake is not bad. https://github.com/guibou/nixGL
  • Unable to run alacritty using nix
    1 project | /r/linuxquestions | 29 Nov 2022
    nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update warning: unable to download 'https://cache.nixos.org/v5djb4jw3hg4brdbidqaspin8n8isyq6.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 259 ms these derivations will be built: /nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv building '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv'... while setting up the build environment: executing '/bin/bash': No such file or directory builder for '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed with exit code 1 error: build of '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed error: program '/usr/bin/nix-build' failed with exit code 100

What are some alternatives?

When comparing nix-bundle and nixGL you can also consider the following projects:

runix

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

nix-gui - Use NixOS Without Coding

flake-utils-plus - Use Nix flakes without any fluff.

nixos-config - My NixOS configuration.

not-os - An operating system generator, based on NixOS, that, given a config, outputs a small (47 MB), read-only squashfs for a runit-based operating system, with support for iPXE and signed boot.

archbox - Easy to use Arch Linux chroot environment with some functionalities to integrate it with your existing Linux installation. Mirror of https://momodev.lemniskett.moe/lemniskett/archbox

nixos-shell - Spawns lightweight nixos vms in a shell

napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]

xdg-desktop-portal-gtk - Gtk implementation of xdg-desktop-portal

spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.