-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add system to outputs.nix #92
Conversation
WalkthroughThe changes primarily focus on enhancing the project's cross-platform compatibility. A new function Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Files selected for processing (1)
- dapps-certification-helpers/data/outputs.nix (1 hunks)
Files skipped from review due to trivial changes (1)
- dapps-certification-helpers/data/outputs.nix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 2
Files selected for processing (1)
- dapps-certification-helpers/data/outputs.nix (1 hunks)
Additional comments (Suppressed): 1
dapps-certification-helpers/data/outputs.nix (1)
- 63-68: Ensure that all references to the
defaultPackage
andpackages
throughout the codebase have been updated to match the new structure.
defaultPackage.x86_64-linux = certify; | ||
packages.x86_64-linux.default = certify; | ||
|
||
mkCertity = system: let |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in function name mkCertity
, it should be mkCertify
.
- mkCertity = system: let
+ mkCertify = system: let
exportReferencesGraph.plutus-apps = dapps-certification; | ||
__structuredAttrs = true; | ||
PATH = pkgs.lib.makeBinPath [ pkgs.coreutils pkgs.jq ]; | ||
builder = builtins.toFile "builder" '' | ||
. .attrs.sh | ||
jq '."plutus-apps"[0].narHash' < .attrs.json > "$(jq -r .outputs.out < .attrs.json)" | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exportReferencesGraph.plutus-apps
should be exportReferencesGraph.dapps-certification
as we are dealing with the dapps-certification
repository here.
- exportReferencesGraph.plutus-apps = dapps-certification;
+ exportReferencesGraph.dapps-certification = dapps-certification;
@Ali-Hill should we squash those 3 commits and merge it? |
That's a good idea. I have removed the other two commits |
This allows for the tool to work with the iogx version of the minimal examples
7bda96c
to
09626b6
Compare
This allows for the tool to work with the iogx version of the minimal examples
Summary by CodeRabbit
mkCertify
that allows generation of thecertify
executable for different systems.defaultPackage
to include separate entries forx86_64-linux
andx86_64-darwin
systems, enhancing system compatibility.origProject
fromrepo.iog.dapp
torepo.iog.x86_64-linux.dapp
, improving project specificity.