Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f6a91dd7e59b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 40f1983f95ed
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 11, 2019

  1. caffeine-ng: fix paths in desktop files

    symphorien authored and c0bw3b committed Nov 11, 2019
    Copy the full SHA
    40f1983 View commit details
Showing with 6 additions and 1 deletion.
  1. +6 −1 pkgs/tools/X11/caffeine-ng/default.nix
7 changes: 6 additions & 1 deletion pkgs/tools/X11/caffeine-ng/default.nix
Original file line number Diff line number Diff line change
@@ -23,10 +23,15 @@ python3Packages.buildPythonApplication rec {

doCheck = false; # There are no tests.

postBuild = ''
postInstall = ''
mkdir -p $out/share
cp -r share $out/
# autostart file
cp -r $out/lib/python*/site-packages/etc $out/etc/
glib-compile-schemas --strict $out/share/glib-2.0/schemas
for i in $(find $out -name "*.desktop"); do
substituteInPlace $i --replace /usr $out
done
'';

meta = with lib; {