mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
azure-cli: fix dependencies
This commit is contained in:
parent
df7139de36
commit
26f221d6b6
@ -1,4 +1,4 @@
|
||||
{ recurseIntoAttrs, callPackage, nodejs
|
||||
{ recurseIntoAttrs, callPackage, nodejs, makeWrapper
|
||||
}:
|
||||
|
||||
let
|
||||
@ -7,7 +7,22 @@ let
|
||||
inherit nodejs self;
|
||||
generated = callPackage ./node-packages.nix { inherit self; };
|
||||
overrides = {
|
||||
"azure-cli" = { passthru.nodePackages = self; };
|
||||
|
||||
"azure-cli" =
|
||||
let
|
||||
streamline-streams = self.by-version."streamline-streams"."0.1.5";
|
||||
streamline = self.by-version."streamline"."0.10.17";
|
||||
node-uuid = self.by-version."node-uuid"."1.2.0";
|
||||
in {
|
||||
passthru.nodePackages = self;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/azure" \
|
||||
--set NODE_PATH "${streamline-streams}/lib/node_modules:${streamline}/lib/node_modules:${node-uuid}/lib/node_modules"
|
||||
'';
|
||||
};
|
||||
"easy-table" = {
|
||||
dontMakeSourcesWritable = 1;
|
||||
postUnpack = ''
|
||||
|
Loading…
Reference in New Issue
Block a user