Skip to content

Commit

Permalink
vagrant: remove unused vendored Gemfile{,.lock}
Browse files Browse the repository at this point in the history
  • Loading branch information
aneeshusa committed Oct 2, 2018
1 parent c527619 commit 16a8e49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 156 deletions.
2 changes: 0 additions & 2 deletions pkgs/development/tools/vagrant/Gemfile

This file was deleted.

149 changes: 0 additions & 149 deletions pkgs/development/tools/vagrant/Gemfile.lock

This file was deleted.

9 changes: 4 additions & 5 deletions pkgs/development/tools/vagrant/default.nix
@@ -1,10 +1,8 @@
{ lib, fetchurl, buildRubyGem, bundlerEnv, ruby, libarchive }:
{ lib, fetchurl, buildRubyGem, bundlerEnv, ruby, libarchive, writeText }:

let
# NOTE: bumping the version and updating the hash is insufficient;
# you must copy a fresh Gemfile.lock from the vagrant source,
# and use bundix to generate a new gemset.nix.
# Do not change the existing Gemfile.
# you must use bundix to generate a new gemset.nix in the Vagrant source.
version = "2.1.2";
url = "https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz";
sha256 = "0fb90v43d30whhyjlgb9mmy93ccbpr01pz97kp5hrg3wfd7703b1";
Expand All @@ -15,7 +13,8 @@ let
inherit version;

inherit ruby;
gemdir = ./.;
gemfile = writeText "Gemfile" "";
lockfile = writeText "Gemfile.lock" "";
gemset = lib.recursiveUpdate (import ./gemset.nix) {
vagrant = {
source = {
Expand Down

0 comments on commit 16a8e49

Please sign in to comment.