diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /pkgs/crypto/iota-cli-app/default.nix | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'pkgs/crypto/iota-cli-app/default.nix')
-rw-r--r-- | pkgs/crypto/iota-cli-app/default.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pkgs/crypto/iota-cli-app/default.nix b/pkgs/crypto/iota-cli-app/default.nix deleted file mode 100644 index e9e9f92..0000000 --- a/pkgs/crypto/iota-cli-app/default.nix +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | { stdenv, mylibs, fetchurl, fetchgit, callPackage, nodePackages, nodejs-10_x }: | ||
2 | let | ||
3 | nodeEnv = callPackage mylibs.nodeEnv { nodejs = nodejs-10_x; }; | ||
4 | # built using node2nix -8 -l package-lock.json | ||
5 | # and changing "./." to "src" | ||
6 | packageEnv = import ./node-packages.nix { | ||
7 | src = stdenv.mkDerivation (mylibs.fetchedGithub ./iota-cli-app.json // { | ||
8 | phases = "installPhase"; | ||
9 | installPhase = '' | ||
10 | cp -a $src $out | ||
11 | chmod u+w -R $out | ||
12 | cd $out | ||
13 | sed -i -e "s@host: 'http://localhost',@host: 'https://nodes.thetangle.org',@" index.js | ||
14 | sed -i -e "s@port: 14265@port: 443@" index.js | ||
15 | ''; | ||
16 | }); | ||
17 | inherit fetchurl fetchgit nodeEnv; | ||
18 | }; | ||
19 | in | ||
20 | packageEnv.package | ||