pws: convert to pname + version
This commit is contained in:
parent
595a151776
commit
89271903b3
@ -1,7 +1,8 @@
|
||||
{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript, xsel, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pws-${(import ./gemset.nix).pws.version}";
|
||||
pname = "pws";
|
||||
version = (import ./gemset.nix).pws.version;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@ -9,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = let
|
||||
env = bundlerEnv {
|
||||
name = "${name}-gems";
|
||||
name = "${pname}-gems";
|
||||
|
||||
inherit ruby;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user