hiera-eyaml: simplify
This commit is contained in:
parent
194ac466ee
commit
1657d28895
@ -1,22 +1,9 @@
|
|||||||
{ lib, bundlerEnv, stdenv }:
|
{ lib, bundlerEnv, ruby }:
|
||||||
|
|
||||||
let
|
bundlerEnv {
|
||||||
name = "hiera-eyaml-${env.gems.hiera-eyaml.version}";
|
inherit ruby;
|
||||||
|
pName = "hiera-eyaml";
|
||||||
env = bundlerEnv {
|
gemdir = ./.;
|
||||||
inherit name;
|
|
||||||
gemfile = ./Gemfile;
|
|
||||||
lockfile = ./Gemfile.lock;
|
|
||||||
gemset = ./gemset.nix;
|
|
||||||
};
|
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
buildCommand = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
ln -s ${env}/bin/eyaml $out/bin/eyaml
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Per-value asymmetric encryption of sensitive data for Hiera";
|
description = "Per-value asymmetric encryption of sensitive data for Hiera";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user