-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
matrix-conduit: 0.4.0 -> 0.5.0 #211309
matrix-conduit: 0.4.0 -> 0.5.0 #211309
Conversation
depsExtraArgs.postBuild = '' | ||
sed 's/serde = { workspace = true/serde = { features = [ "derive" ], version = "*"/g' -i $name/ruma*/Cargo.toml | ||
sed 's/tracing = { workspace = true.*/tracing = { version = "*" }/g' -i $name/ruma*/Cargo.toml | ||
sed 's/workspace = true/version = "*"/g' -i $name/ruma*/Cargo.toml |
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.
Minor nitpick, but I'd do this which I think is easier to read:
sed -i $name/ruma*/Cargo.toml \
-e 's/serde = { workspace = true/serde = { features = [ "derive" ], version = "*"/g' \
-e 's/tracing = { workspace = true.*/tracing = { version = "*" }/g' \
-e 's/workspace = true/version = "*"/g'
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.
That is of course assuming we cannot simply remove "workspace = true".
One more thing - we should also change the module as the service can now run with |
-e 's/serde = { workspace = true/serde = { features = [ "derive" ], version = "*"/g' \ | ||
-e 's/tracing = { workspace = true.*/tracing = { version = "*" }/g' \ | ||
-e 's/workspace = true/version = "*"/g' |
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.
I would rather use a patch here to make the change more obvious and fail if some part does not apply with the next update.
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.
That's a very good point. I'm with @SuperSandro2000 on this.
I don't know how to do this, since it is not part of the source code of the application. Either way, someone else can finish this. |
Continuation in #212036 |
Description of changes
Involves some hacks
#202762
rust-lang/cargo#11192
ruma/ruma#1441
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes