From c98f07b42223774b8be0b521750a1ec717bd9bf0 Mon Sep 17 00:00:00 2001 From: "P." Date: Mon, 4 Dec 2023 08:12:05 -0600 Subject: [PATCH] compass: use bundlerEnv --- pkgs/development/tools/compass/Gemfile | 5 ++--- pkgs/development/tools/compass/Gemfile.lock | 4 ++-- pkgs/development/tools/compass/default.nix | 9 ++++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/compass/Gemfile b/pkgs/development/tools/compass/Gemfile index 66a29975e7dd..de8c23e303df 100644 --- a/pkgs/development/tools/compass/Gemfile +++ b/pkgs/development/tools/compass/Gemfile @@ -1,3 +1,2 @@ -source "https://rubygems.org" do - gem 'compass' -end +source 'https://rubygems.org' +gem 'compass' diff --git a/pkgs/development/tools/compass/Gemfile.lock b/pkgs/development/tools/compass/Gemfile.lock index f0bf7699df0d..cc4969e234bb 100644 --- a/pkgs/development/tools/compass/Gemfile.lock +++ b/pkgs/development/tools/compass/Gemfile.lock @@ -25,7 +25,7 @@ PLATFORMS ruby DEPENDENCIES - compass! + compass BUNDLED WITH - 2.2.24 + 2.4.22 diff --git a/pkgs/development/tools/compass/default.nix b/pkgs/development/tools/compass/default.nix index f8a2aad14f45..8b8752d1c0d8 100644 --- a/pkgs/development/tools/compass/default.nix +++ b/pkgs/development/tools/compass/default.nix @@ -1,9 +1,11 @@ -{ lib, bundlerApp, bundlerUpdateScript }: +{ lib, bundlerEnv, bundlerUpdateScript, ruby }: -bundlerApp { +bundlerEnv { pname = "compass"; + version = "1.0.3"; + + inherit ruby; gemdir = ./.; - exes = [ "compass" ]; passthru.updateScript = bundlerUpdateScript "compass"; @@ -12,6 +14,7 @@ bundlerApp { homepage = "https://github.com/Compass/compass"; license = with licenses; mit; maintainers = with maintainers; [ offline manveru nicknovitski ]; + mainProgram = "compass"; platforms = platforms.unix; }; }