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
tilp2: init at 1.18 #101796
tilp2: init at 1.18 #101796
Conversation
@siraben could you check if tilem still works? |
I still have some problems with udev rules, as I need to lauch tilp as root: |
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.
Build on darwin:
Result of nixpkgs-review pr 101796
1
2 packages failed to build:
- gfm
- tilp2
5 packages built:
- libticables2
- libticalcs2
- libticonv
- libtifiles2
- tilem
builder for '/nix/store/ynmg6ysnlj0bi7z5bs4k0r8n3hbl26da-gfm-1.08.tar.bz2.drv'
failed with exit code 1; last 10 log lines:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found
trying https://kent.dl.sourceforge.net/sourceforge/gfm/gfm-1.08.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 300 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
error: cannot download gfm-1.08.tar.bz2 from any mirror
cannot build derivation '/nix/store/aarinffrgifh34baab8l8sfa0kfai5kp-gfm-1.08.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3rckmylybwxmc1am737f2hig5vh4sggc-tilp2-1.18.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/pnvy2w07j67vjiyc5dgrwj3zp2lsacdx-env.drv': 2 dependencies couldn't be built
8e9a668
to
b6dcbf8
Compare
@SuperSandro2000 Sorry, wrong link, I should have deleted the source in /nix/store to test it. |
Run on darwin: Result of 7 packages built:
|
Firstly, it means the same thing. Either I'm blind or this is a bug with nix. |
No magic, you have |
I guess I'm blind then... |
Run on darwin: Result of 7 packages built:
|
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.
nitpicks
]; | ||
|
||
buildInputs = [ | ||
gnome2.gtk |
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.
gtk2 or gtk3?
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.
does this possibly need wrapGAppsHook (does this have an UI and does that ui work?)
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 needs gtk2: checking for gtk+-2.0 >= 2.6.0
.
It has an UI, and it does work, so I guess it doesn't need wrapGAppsHook
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.
Is gtk2 and gnome2.gtk the same packages?
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.
Yes, they are the same package.
In pkgs/desktops/gnome-2/default.nix
:
gtk = pkgs.gtk2;
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.
Then I would prefer using gtk2.
}; | ||
|
||
config = mkIf cfg.enable { | ||
services.udev.packages = [ |
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.
How come it has to be a NixOS module?
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.
We can't enable udev rules any other way, can we?
Result of 7 packages built:
|
@luc65r please resolve the merge conflict. |
]; | ||
|
||
buildInputs = [ | ||
gnome2.gtk |
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.
Is gtk2 and gnome2.gtk the same packages?
@luc65r please fix the eval error. |
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.
LGTM. Thanks for doing this.
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 7 packages built:
|
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package blacklisted:
7 packages built:
|
Motivation for this change
Close #76098
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)