[nixpkgs] simplify dofiles nix expression