bundlers icon indicating copy to clipboard operation
bundlers copied to clipboard

Use nixpkgs.lib.getExe

Open nagy opened this issue 2 years ago • 2 comments

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.

nagy avatar May 19 '23 09:05 nagy

fix: share nixpkgs among dependency flakes

May break matthewbauer/bundler without https://github.com/matthewbauer/nix-bundle/pull/98

Artturin avatar Aug 10 '23 03:08 Artturin

That PR has since been merged. I just rebased. Can we merge this?

nagy avatar Jul 10 '24 11:07 nagy