Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

balena-cli: init at <Updating> #96961

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions pkgs/development/tools/balena-cli/composition.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file has been generated by node2nix 1.8.0. Do not edit!

{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:

let
globalBuildInputs = pkgs.lib.attrValues (import ./supplement.nix {
inherit nodeEnv;
inherit (pkgs) fetchurl fetchgit;
});
nodeEnv = import ./node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
};
in
import ./node-packages-generated.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv globalBuildInputs;
}
13 changes: 13 additions & 0 deletions pkgs/development/tools/balena-cli/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ stdenv, pkgs }:

let
nodePackages = import ./composition.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
};
in nodePackages.balena-cli.override {
meta = nodePackages.balena-cli.meta // {
maintainers = with stdenv.lib.maintainers; [ doronbehar ];
};
passthru.updateScript = ./update.sh;
}
Loading