-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
papirus-icon-theme: init at 20170616 #27115
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
Conversation
And it fails only in 1 test, wut? |
Please use |
|
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 added same remarks. I already applied the changes and committed directly to master.
installPhase = '' | ||
install -dm 755 $out/share/icons | ||
cp -dr --no-preserve='ownership' Papirus{,-Dark,-Light} $out/share/icons/ | ||
cp -dr --no-preserve='ownership' ePapirus $out/share/icons/ |
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.
ownership always ends up root in nix store.
src = fetchFromGitHub { | ||
owner = "PapirusDevelopmentTeam"; | ||
repo = "papirus-icon-theme"; | ||
rev = "9be3f0f688f33d538f135b590579466946d0bf4c"; |
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.
variable should be reused here to make updating easier.
rev = "${version}";
{ stdenv, fetchFromGitHub }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "papirus-icon-theme-${version}"; |
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 use 2 spaces to indent. See: https://github.com/NixOS/nixpkgs/blob/master/.editorconfig
Motivation for this change
Wanted to add papirus icon theme
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)