Skip to content
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

BeatSaberModManager: init at 0.0.2 #196648

Merged
merged 5 commits into from
Dec 2, 2022

Conversation

Atemu
Copy link
Member

@Atemu Atemu commented Oct 18, 2022

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

Comment on lines 27 to 30
dotnetInstallFlags = [
# FIXME It doesn't like that for some reason beyond my ability to package dotnet
"-p:PublishSingleFile=false"
];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically, it fails with

Executing dotnetInstallHook
MSBuild version 17.3.1+2badb37d1 for .NET
  IPA-lib -> /nix/store/hsx50dc5yly2bqinqcdr9sz6xs9zfawc-BeatSaberModManager-0.0.2/lib/BeatSaberModManager/
/nix/store/a5x48hb982y79kkh39n8wh16b62vi1iz-dotnet-sdk-6.0.401/sdk/6.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(102,5): error NETSDK1097: It is not supported to publish an application to a single-file without specifying a RuntimeIdentifier. You must either specify a RuntimeIdentifier or set PublishSingleFile to false. [/build/source/BeatSaberModManager/BeatSaberModManager.csproj]

If anyone more knowledgable in dotnet knows how to fix this without disabling single-file, let me know.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found a solution but it's not pretty.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Atemu
Copy link
Member Author

Atemu commented Nov 4, 2022

I'd love to see this merged before branch-off.

Copy link
Contributor

@K900 K900 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diff generally LGTM, but I don't have a headset to test on anymore.

@Atemu
Copy link
Member Author

Atemu commented Nov 5, 2022

@K900 thanks!

You don't need a headset btw; you can observe all of BSMM's effects with just a BeatSaber installation. It's just a fancy GUI to download files and shuffle them around.

Speaking of 'BSMM', do you think adding an alias would be good?

@mweinelt mweinelt merged commit ebb58e6 into NixOS:master Dec 2, 2022
@Atemu Atemu deleted the init/BeatSaberModManager branch December 2, 2022 22:31
@Atemu
Copy link
Member Author

Atemu commented Dec 2, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants