From 6ce76a64749a49eea8783523f12f11105007f9b5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 May 2016 21:04:34 +0200 Subject: symlinkJoin --- users/gkleen@hel.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/users/gkleen@hel.nix b/users/gkleen@hel.nix index a7b5be0e..4d116820 100644 --- a/users/gkleen@hel.nix +++ b/users/gkleen@hel.nix @@ -1,11 +1,10 @@ { packageOverrides = pkgs: rec { - chromium-wrapper = pkgs.stdenv.mkDerivation { + chromium-wrapper = pkgs.symlinkJoin { name = "chromium-wrapper"; - src = pkgs.chromium; - phases = [ "installPhase" ]; + paths = [ pkgs.chromium ]; buildInputs = [ pkgs.makeWrapper ]; - installPhase = '' + postBuild = '' mkdir -p $out cp -a $src/. $out/ wrapProgram $out/bin/chromium \ -- cgit v1.2.3