mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
14 lines
243 B
Nix
14 lines
243 B
Nix
{ bundlerApp, makeWrapper }:
|
|
|
|
bundlerApp {
|
|
pname = "bolt";
|
|
gemdir = ./.;
|
|
exes = [ "bolt" ];
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
# Set BOLT_GEM=1 to remove warning
|
|
wrapProgram $out/bin/bolt --set BOLT_GEM 1
|
|
'';
|
|
}
|