spark-wallet/generate: remove supplement.json

This file is empty and has no effect.
This commit is contained in:
Erik Arvstedt 2021-03-16 12:45:20 +01:00
parent 84b3217c3d
commit 81db927f66
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
4 changed files with 3 additions and 9 deletions

View File

@ -5,10 +5,6 @@
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_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;
@ -17,5 +13,5 @@ let
in
import ./node-packages.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv globalBuildInputs;
inherit nodeEnv;
}

View File

@ -1,5 +1,5 @@
{ stdenv, pkgs, lib }:
lib.head (lib.attrValues (import ./composition.nix {
lib.head (builtins.attrValues (import ./composition.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
}))

View File

@ -20,7 +20,7 @@ jq '.dependencies["qrcode-terminal"] = .optionalDependencies["qrcode-terminal"]'
# Run node2nix
cp pkg.json $TMPDIR/pkg.json
node2nix --nodejs-10 -i $TMPDIR/pkg.json -c composition.nix --no-copy-node-env --supplement-input supplement.json
node2nix --nodejs-10 -i $TMPDIR/pkg.json -c composition.nix --no-copy-node-env
# Use verified source in node-packages.nix
url="https://github.com/shesek/spark-wallet/releases/download/v$version/spark-wallet-$version-npm.tgz"

View File

@ -1,2 +0,0 @@
[
]