-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
tiatracker: init at 1.3 #158645
base: master
Are you sure you want to change the base?
tiatracker: init at 1.3 #158645
Conversation
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.
Code looks okay. Build passes & binary works on Linux, but fails on Darwin.
Looks like the QMake script was never tested on Darwin. I haven't tested it locally but try this:
postPatch = ''
substituteInPlace TIATracker.pro \
--replace 'linux:' 'unix:'
'';
If that doesn't fix the build on CI I'll look into it on my machine.
As a note, do you know about this fork? Haven't tested it myself but it seems like it has some nice additions.
675af83
to
bce92a4
Compare
Ooh that's nice! Do you think we should package that instead, or do both? |
Fixed all the Darwin stuff in fgaz#3, builds & works on my machine now.
I would be in favour of doing both just cuz "why not?". But I don't have much experience with using trackers or the TIA so I can't judge how crucial these changes are (except undo/redo, which is obviously an improvement). |
That's pretty much in the spirit of nixpkgs, and I agree :D |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
||
meta = with lib; { | ||
inherit description; | ||
inherit (src.meta) homepage; |
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.
inherit (src.meta) homepage; | |
homepage = "https://bitbucket.org/kylearan/tiatracker"; |
''; | ||
|
||
meta = with lib; { | ||
inherit description; |
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.
inherit description; | |
description = "Music tracker for making Atari VCS 2600 music"; |
SDL2 | ||
]; | ||
|
||
desktopItems = lib.optionals stdenv.hostPlatform.isLinux [ desktopItem ]; |
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.
desktopItems = lib.optionals stdenv.hostPlatform.isLinux [ desktopItem ]; | |
desktopItems = [ | |
(makeDesktopItem { | |
name = "TIATracker"; | |
desktopName = "TIATracker"; | |
comment = meta.description; | |
exec = "TIATracker"; | |
icon = "tiatracker"; | |
type = "Application"; | |
categories = "AudioVideo;AudioVideoEditing;"; | |
extraEntries = "Keywords=tracker;music;"; | |
}) | |
]; |
let | ||
description = "Music tracker for making Atari VCS 2600 music"; | ||
desktopItem = makeDesktopItem { | ||
name = "TIATracker"; | ||
desktopName = "TIATracker"; | ||
comment = description; | ||
exec = "TIATracker"; | ||
icon = "tiatracker"; | ||
type = "Application"; | ||
categories = "AudioVideo;AudioVideoEditing;"; | ||
extraEntries = "Keywords=tracker;music;"; | ||
}; | ||
|
||
in mkDerivation rec { |
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 | |
description = "Music tracker for making Atari VCS 2600 music"; | |
desktopItem = makeDesktopItem { | |
name = "TIATracker"; | |
desktopName = "TIATracker"; | |
comment = description; | |
exec = "TIATracker"; | |
icon = "tiatracker"; | |
type = "Application"; | |
categories = "AudioVideo;AudioVideoEditing;"; | |
extraEntries = "Keywords=tracker;music;"; | |
}; | |
in mkDerivation rec { | |
mkDerivation rec { |
Motivation for this change
#81815 cc @OPNA2608
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