diff options
author | Michael Peyton Jones <me@michaelpj.com> | 2019-06-16 12:21:20 +0100 |
---|---|---|
committer | Michael Peyton Jones <me@michaelpj.com> | 2019-06-19 11:07:44 +0100 |
commit | 0073c1fb0b4d230a305f703f2e2056b432c64cf6 (patch) | |
tree | f177b1ab2c39331a2d19e1d8c3f1302970819e55 /pkgs/tools/system | |
parent | 66da10e80f92b7bde048a566e3bf97cc6b349d86 (diff) | |
download | nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.tar nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.tar.gz nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.tar.bz2 nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.tar.lz nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.tar.xz nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.tar.zst nixlib-0073c1fb0b4d230a305f703f2e2056b432c64cf6.zip |
localtime: use upstream unit and fix polkit rule installation
Also don't allocate a user - the upstream unit uses DynamicUser.
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/localtime/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/system/localtime/default.nix b/pkgs/tools/system/localtime/default.nix index 56346548f005..39e1bc7b6e7d 100644 --- a/pkgs/tools/system/localtime/default.nix +++ b/pkgs/tools/system/localtime/default.nix @@ -13,7 +13,10 @@ buildGoPackage rec { buildInputs = [ m4 ]; - makeFlags = [ "PREFIX=$(out)" "BINDIR=$(bin)/bin" ]; + makeFlags = [ + "PREFIX=${placeholder "out"}" + "BINDIR=${placeholder "bin"}/bin" + ]; buildPhase = '' cd go/src/${goPackagePath} |