spark-wallet/generate: remove supplement.json
This file is empty and has no effect.
This commit is contained in:
parent
84b3217c3d
commit
81db927f66
@ -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;
|
||||
}
|
@ -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;
|
||||
}))
|
||||
|
@ -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"
|
||||
|
@ -1,2 +0,0 @@
|
||||
[
|
||||
]
|
Loading…
Reference in New Issue
Block a user