Skip to content

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

Closed
wants to merge 4 commits into from
Closed

papirus-icon-theme: init at 20170616 #27115

wants to merge 4 commits into from

Conversation

bugworm
Copy link
Contributor

@bugworm bugworm commented Jul 4, 2017

Motivation for this change

Wanted to add papirus icon theme

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@bugworm
Copy link
Contributor Author

bugworm commented Jul 4, 2017

output path ‘/nix/store/4hk541byh3jyd2vrcdy6cf0xjv26xbkn-papirus-icon-theme-9be3f0f688f33d538f135b590579466946d0bf4c-src’ has r:sha256 hash ‘1daa1izrhc682vx21pwry8fjmr1f7kff7ycdppv362hrjf2hnj28’ when ‘008nkmxp3f9qqljif3v9ns3a8mflzffv2mm5zgjng9pmdl5x70j4’ was expected

And it fails only in 1 test, wut?

@Mic92
Copy link
Member

Mic92 commented Jul 4, 2017

Please use git rebase in future instead of git pull if you update your branch. This makes review easier.

@Mic92
Copy link
Member

Mic92 commented Jul 4, 2017

I suspect yet another case of unicode normalisation of the filesystem on OS X.

@Mic92 Mic92 closed this in 8acde59 Jul 4, 2017
Copy link
Member

@Mic92 Mic92 left a 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/
Copy link
Member

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";
Copy link
Member

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}";
Copy link
Member

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

None yet

2 participants