1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/tools/text/papertrail/shell.nix
Domen Kožar 9f11d17ed2
add papertrail at 0.10.1
Thank you @grahamc <3
2017-04-24 17:05:03 +02:00

20 lines
301 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation {
name = "papertrail";
src = ./.;
buildInputs = with pkgs; [
bundix
bundler
ruby
];
shellHook = ''
truncate --size 0 Gemfile.lock
bundle install --path=vendor/bundle
rm -rf vendor .bundle
bundix
'';
}