Open nagy opened 1 year ago
Currently, bundling packages with a name prefix, e.g. luaPackages.fennel fails upon execution with:
luaPackages.fennel
$ ./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.
lib.getExe
For this, I also needed to update nixpkgs in the flake lock.
fix: share nixpkgs among dependency flakes
May break matthewbauer/bundler without https://github.com/matthewbauer/nix-bundle/pull/98
Currently, bundling packages with a name prefix, e.g.
luaPackages.fennel
fails upon execution with: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.