You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO get all .js files and use their paths to generate foreigns
# this is a purs-nix overlay (not nixpkgs overlay)system: inputs: pkgs: npmlock2nix: self: super: withself;letinherit(pkgs.lib.attrsets)recursiveUpdate;# FIXME we should rely on node_modules from ctl-scaffholdnode_modules_=npmlock2nix.v1.node_modules{src=inputs.ctl;};node_modules=node_modules_+/node_modules;ffi={inheritnode_modules;};purs-nix=inputs.purs-nix{inheritsystem;};inherit(purs-nix)build;in{cardano-transaction-lib=build{name="cardano-transaction-lib";# TODO find a way to reuse ctl to build cardano-transaction-lib overlay# it seems that we'll need a purs-nix api change for that# also applies to other inputssrc.path=inputs.ctl;info={version="7.0.0";foreign={# TODO get all .js files and use their paths to generate foreigns# command used `grep -rl --include "*.js" import src/ | xargs -I _ sh -c "S=_; grep module \${S/js/purs} | cut -d ' ' -f2"`# command used for nested dependencies `spago install && grep -rl --include "*.js" import .spago/ | xargs -I _ sh -c "S=_; grep -H module \${S/js/purs}"`"Ctl.Internal.BalanceTx.UtxoMinAda"=ffi;"Ctl.Internal.Deserialization.FromBytes"=ffi;"Ctl.Internal.Deserialization.Keys"=ffi;"Ctl.Internal.Deserialization.Language"=ffi;"Ctl.Internal.Deserialization.NativeScript"=ffi;"Ctl.Internal.Deserialization.PlutusData"=ffi;"Ctl.Internal.Deserialization.Transaction"=ffi;"Ctl.Internal.Deserialization.UnspentOutput"=ffi;"Ctl.Internal.Plutip.PortCheck"=ffi;"Ctl.Internal.Plutip.Spawn"=ffi;"Ctl.Internal.Plutip.Utils"=ffi;"Ctl.Internal.QueryM.UniqueId"=ffi;"Ctl.Internal.Serialization.Address"=ffi;"Ctl.Internal.Serialization.AuxiliaryData"=ffi;"Ctl.Internal.Serialization.BigInt"=ffi;"Ctl.Internal.Serialization.Hash"=ffi;"Ctl.Internal.Serialization.MinFee"=ffi;"Ctl.Internal.Serialization.NativeScript"=ffi;"Ctl.Internal.Serialization.PlutusData"=ffi;"Ctl.Internal.Serialization.PlutusScript"=ffi;"Ctl.Internal.Serialization.WitnessSet"=ffi;"Ctl.Internal.Types.BigNum"=ffi;"Ctl.Internal.Types.ByteArray"=ffi;"Ctl.Internal.Types.Int"=ffi;"Ctl.Internal.Types.TokenName"=ffi;"Ctl.Internal.Wallet.Cip30.SignData"=ffi;"Ctl.Internal.Wallet.Bip32"=ffi;"Ctl.Internal.Affjax"=ffi;"Ctl.Internal.ApplyArgs"=ffi;"Ctl.Internal.Hashing"=ffi;"Ctl.Internal.JsWebSocket"=ffi;"Ctl.Internal.Serialization"=ffi;};dependencies=[aesonaffaff-promiseaff-retryaffjaxansiargonautargonaut-codecsarraybuffer-typesarraysavarbifunctorsjs-bigintsbignumberchecked-exceptionsconsole
The text was updated successfully, but these errors were encountered:
command used `grep -rl --include "*.js" import src/ | xargs -I _ sh -c "S=_; grep module \${S/js/purs} | cut -d ' ' -f2"`
command used for nested dependencies `spago install && grep -rl --include "*.js" import .spago/ | xargs -I _ sh -c "S=_; grep -H module \${S/js/purs}"`
ctl-nix/nix/purs-nix/custom-deps.nix
Line 22 in 6aa9478
The text was updated successfully, but these errors were encountered: