Without these patches, the output of mksquashfs is not reproducible.
The patches are taken from https://github.com/squashfskit/squashfskit,
a fork of squashfs-tools, licensed under the GPL2 or later like
squashfs-tools itself.
This is needed in order to add location information to contacts in
KAddressbook.
Packaging was quite straightforward except that it needed
akonadi-import-wizard, which I have packaged in the previous commit.
I'm committing this directly to master without a pull request, because
nothing depends on it (for obvious reasons) and packaging was trivial
enough so that if things are not as they supposed to be it can still be
changed very easily.
Tested this using the following VM configuration, because I don't run a
Plasma desktop:
(import <nixpkgs/nixos> {
configuration = { pkgs, ... }: {
environment.systemPackages = with import <nixpkgs> {}; [
kdeApplications.kaddressbook kdeApplications.kdepim-addons
];
users.users.test.isNormalUser = true;
virtualisation.diskSize = 4096;
virtualisation.memorySize = 2048;
services.xserver = {
enable = true;
inherit ((import <nixpkgs/nixos> {}).config.services.xserver) layout;
displayManager.sddm.enable = true;
displayManager.sddm.autoLogin.enable = true;
displayManager.sddm.autoLogin.user = "test";
desktopManager.default = "plasma5";
desktopManager.plasma5.enable = true;
};
};
}).vm
The test I've done is using KAddressbook and check whether the location
tab is working and it does now.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @ttuegel, @vandenoever
This is required for kdepim-addons and packaging this is pretty much
straightforward with no hurdles.
I tried to keep the coding style close to other packages in
kdeApplications so that it stays consistent.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @ttuegel, @vandenoever
This introduces an option that allows us to turn off stateful generation
of Diffie-Hellman parameters, which in some way is still "stateful" as
the generated DH params file is non-deterministic.
However what we can avoid with this is to have an increased surface for
failures during system startup, because generation of the parameters is
done during build-time.
Aside from adding a NixOS VM test it also restructures the type of the
security.dhparams.params option, so that it's a submodule.
A new defaultBitSize option is also there to allow users to set a
system-wide default.
I added a release notes entry that described what has changed and also
included a few notes for module developers using this module, as the
first usage already popped up in NixOS/nixpkgs#39507.
Thanks to @Ekleog and @abbradar for reviewing.