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
dgen: init at 1.33 #106359
dgen: init at 1.33 #106359
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
let | ||
pname = "dgen-sdl"; | ||
version = "1.33"; | ||
in stdenv.mkDerivation { | ||
inherit pname version; |
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.
let | |
pname = "dgen-sdl"; | |
version = "1.33"; | |
in stdenv.mkDerivation { | |
inherit pname version; | |
in stdenv.mkDerivation rec { | |
pname = "dgen-sdl"; | |
version = "1.33"; |
Please stop doing this.
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.
Why?
platforms = with platforms; unix; | ||
}; | ||
} | ||
# TODO: handle configure options |
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.
What happens with the TODO?
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.
dgen
has some interesting options, as building debuggers and emulating some extra processors.
I don know what is the better approach here: using a config
parameter (with many enable
subparameters) or directly listing possibilites as enableDebugger, enableCoProcessor
etc.
Anyway, at least it runs Sonic!
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.
directly listing possibilites as enableDebugger, enableCoProcessor etc.
That is what I saw so far for packages. A config parameter is only used for modules.
Result of 1 package failed to build:
|
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)