2c393164c8
fixes #25852
17 lines
314 B
Nix
17 lines
314 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "mikutter-shell";
|
|
buildInputs = with pkgs; [
|
|
bundix
|
|
bundler
|
|
];
|
|
|
|
shellHook = ''
|
|
truncate --size 0 Gemfile.lock
|
|
bundle lock
|
|
bundle package --path=vendor/bundle --no-install
|
|
rm -rf vendor .bundle
|
|
bundix -d
|
|
'';
|
|
}
|