-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
idsk : init at unstable-2018-02-11 #35045
Conversation
version = "0.16"; | ||
rev = "1846729ac3432aa8c2c0525be45cfff8a513e007"; | ||
short_rev = "${builtins.substring 0 7 rev}"; | ||
name = "${pname}-${version}-${short_rev}"; |
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.
indentation is off here
@GrahamcOfBorg build idsk |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
stdenv.mkDerivation rec { | ||
|
||
pname = "idsk"; | ||
version = "0.16"; |
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.
Where did you find the version number? I'm able to get it from there github.
When then revision is not a release, we have to use version = "unstable-YYYY-MM-DD"
as mentioned in https://nixos.org/nixpkgs/manual/#sec-package-naming
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.
It refers to the version display :
"iDSK version 0.16 (by Demoniak, Sid, PulkoMandy), http://github.com/cpcsdk"
But i will change to unstable-YYYY-MM-DD if it more compliant.
The problem i see with such name, they don't really express the version + git for a user (that use 0.14 for example, and will get a unstable-2018-xx-xx thing).
I've fixed version, but i'm unhappy with the idsk-unstable-2018-02-11 name. giving date show it's not a release, unstable is redundant and give no information about what it is. |
https://nixos.org/nixpkgs/manual/#sec-syntax
I believe the -unstable naming convention is to make sure that in the presence of a stable and an unstable version of a package, nix-env will not automatically select the unstable one because it has a higher version number. See the description; this isn't a great behaviour IMO and nobody who knows the difference will prefer |
I also don't know if there is a policy regarding this case. But I think we can consider this is a release. When we use a tag to fetch a release, this tag is mutable and set by application developers. This is really close from this displayed version number. |
I'd prefer keep the name as it, and merge, and later i found time to fix bug in idsk and ask for a bug release. |
Thanks |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)