bundlers
bundlers copied to clipboard
Use nixpkgs.lib.getExe
Currently, bundling packages with a name prefix, e.g. luaPackages.fennel fails upon execution with:
$ ./lua5.2-fennel
execvp(/nix/store/hfgrhz6ks6s73bxbg4yg7wnrhyhn6pfr-lua5.2-fennel-1.3.0-1/bin/lua5.2-fennel): No such file or directory
In nixpkgs, there exists logic to handle cases like this with lib.getExe, which we are using now.
For this, I also needed to update nixpkgs in the flake lock.
May break matthewbauer/bundler without https://github.com/matthewbauer/nix-bundle/pull/98
That PR has since been merged. I just rebased. Can we merge this?