Change:
After upgrading to NixOS 17.03, I've found a small issue in the running of fcron. Jobs don't run if crontabs existed during a restart of fcron. This is due to ownership of the generated files in the fcron spool (should be root not fcron). This is due to the ownership change in the systemd unit in the fcron module. This permission change needs to be restricted to . I've verified this by changing the ownership of the appropriate files (those not ending in orig) to and fcron loads the jobs upon start. NixOS 17.03 fcron ( = true) fcrontab -e to create a crontab fcron (systemctl restart fcron) that the jobs are not scheduled to run (fcrondyn -x ls) journalctl contains the following statements: System: 17.03.928. (Gorilla) Nix version: nix-env (Nix) 1.11.8 Nixpkgs version: 17.03.928.
You mean something like this: would fix your problem?
Yes, but now that I'm seeing it run. I'm thinking just dropping the change in ownership is the best path. It appears that the fcron daemon runs as root and expects those files to be owned by root. I just created a new file and the permissions were set like so: This indicates that setting the owner of with your proposed install command will be fine but the loop doesn't seem strictly necessary. It would ensure that the permissions remain what is expected but fcron will also ensure that is the case. Why do you do the group change with a loop instead of ?
I dropped chmod in
Thanks What's the usual time before I'll see that show up in the stable packages?
It should be already.
Looks like the install command is now causing problems on newly activated fcrons: The permissions on : Looks like the install command needs to set the s bits for user and group. Permissions on a working fcron: Looks like the install should be using 6770 for mode to truly fix this.

Discussion:
<ins> {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { version = "0.15.2"; name = "vala-${version}"; src = fetchurl { url = "mirror://gnome/sources/vala/0.15/${name}.tar.xz"; sha256 = "0g71zq6dpqrw2f40wfzdf18fdw41ymr17laqniy2kr622hkxdi8w"; }; buildNativeInputs = [ yacc flex pkgconfig xz ]; buildInputs = [ glib ]; meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; }; } </ins>

<ins> {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { version = "0.16.1"; name = "vala-${version}"; src = fetchurl { url = "mirror://gnome/sources/vala/0.16/${name}.tar.xz"; sha256 = "1n708n9ixyy9qrzyv1wf4ybvcclx43ib9ki028wwpvkz6kv8zqlb"; }; buildNativeInputs = [ yacc flex pkgconfig xz ]; buildInputs = [ glib ]; meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; }; } </ins>

{stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { <del> name = "vala-0.14.2"; </del> <ins> version = "0.17.2"; name = "vala-${version}"; </ins> src = fetchurl { <del> url = mirror://gnome/sources/vala/0.14/vala-0.14.2.tar.xz; sha256 = "1l5kllw9vpwv24lzv9fp64l3sad46wpxgvsgryrwlrjg91w6jzl0"; </del> <ins> url = "mirror://gnome/sources/vala/0.17/${name}.tar.xz"; sha256 = "09i2s0dwmrk147ind2dx7nq845g12fp6fsjqrphhrr0dbi0zzgh3"; </ins> }; buildNativeInputs = [ yacc flex pkgconfig xz ];

meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; <ins> license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; </ins> }; }

urweb = callPackage ../development/compilers/urweb { }; <del> vala = callPackage ../development/compilers/vala { }; </del> <ins> vala = vala17; vala15 = callPackage ../development/compilers/vala/15.2.nix { }; vala16 = callPackage ../development/compilers/vala/16.1.nix { }; vala17 = callPackage ../development/compilers/vala/default.nix { }; </ins> visualcpp = callPackage ../development/compilers/visual-c++ { };