diff options
-rw-r--r-- | users/gkleen@hel.nix | 7 |
1 files 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 @@ | |||
1 | { | 1 | { |
2 | packageOverrides = pkgs: rec { | 2 | packageOverrides = pkgs: rec { |
3 | chromium-wrapper = pkgs.stdenv.mkDerivation { | 3 | chromium-wrapper = pkgs.symlinkJoin { |
4 | name = "chromium-wrapper"; | 4 | name = "chromium-wrapper"; |
5 | src = pkgs.chromium; | 5 | paths = [ pkgs.chromium ]; |
6 | phases = [ "installPhase" ]; | ||
7 | buildInputs = [ pkgs.makeWrapper ]; | 6 | buildInputs = [ pkgs.makeWrapper ]; |
8 | installPhase = '' | 7 | postBuild = '' |
9 | mkdir -p $out | 8 | mkdir -p $out |
10 | cp -a $src/. $out/ | 9 | cp -a $src/. $out/ |
11 | wrapProgram $out/bin/chromium \ | 10 | wrapProgram $out/bin/chromium \ |