diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-14 21:04:34 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-14 21:04:34 +0200 |
commit | 6ce76a64749a49eea8783523f12f11105007f9b5 (patch) | |
tree | 555defd80976acd8bc14ed8520f7576c6f9cc9f4 /users | |
parent | 955bf5b60d7fa071f2fd7a98664854cf48dff126 (diff) | |
download | nixos-6ce76a64749a49eea8783523f12f11105007f9b5.tar nixos-6ce76a64749a49eea8783523f12f11105007f9b5.tar.gz nixos-6ce76a64749a49eea8783523f12f11105007f9b5.tar.bz2 nixos-6ce76a64749a49eea8783523f12f11105007f9b5.tar.xz nixos-6ce76a64749a49eea8783523f12f11105007f9b5.zip |
symlinkJoin
Diffstat (limited to 'users')
-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 \ |