TLDR: makes KeePass prefer $XDG_CONFIG_HOME instead of install (/nix/store) location
KeePass defaults `PreferUserConfiguration` to `false`,r
the only way to set it to `true` is through global
KeePass.config.xml at the install location.
The default installer configuration does just that and nothing else.
Excerpt from documentation (see https://keepass.info/help/base/configuration.html#tech )
> If the PreferUserConfiguration flag is false,
> try to store all configuration items into the global configuration file.
> If this fails, report the error and try to store them into the local configuration file.
> If this fails, report the error.
Update all usage of lib.concatStrings (lib.intersperse ...) to
lib.concatStringsSep. This produces the same result as per https://github.com/NixOS/nixpkgs/pull/135843,
however it yields a performance benefit on Nix versions that
support the builtins.concatStringsSep primop.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/keepass/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1/bin/.keepass-wrapped -h’ got 0 exit code
- ran ‘/nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1/bin/.keepass-wrapped --help’ got 0 exit code
- ran ‘/nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1/bin/.keepass-wrapped help’ got 0 exit code
- ran ‘/nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1/bin/keepass -h’ got 0 exit code
- ran ‘/nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1/bin/keepass --help’ got 0 exit code
- ran ‘/nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1/bin/keepass help’ got 0 exit code
- found 2.39.1 with grep in /nix/store/qgy0xnizyq301xhnqrklr75b59y6k7ni-keepass-2.39.1
- directory tree listing: https://gist.github.com/78c15efa16b6307a93c5f5336a99df32
- du listing: https://gist.github.com/c18c593ba095ab336bc0102838e529ca
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/keepass/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/0w1c39pg7347dwhkwz3b5jizzzc5v885-keepass-2.39/bin/.keepass-wrapped --help’ got 0 exit code
- ran ‘/nix/store/0w1c39pg7347dwhkwz3b5jizzzc5v885-keepass-2.39/bin/keepass --help’ got 0 exit code
- found 2.39 with grep in /nix/store/0w1c39pg7347dwhkwz3b5jizzzc5v885-keepass-2.39
- directory tree listing: https://gist.github.com/da7324a17ad7e95a053f6a2655ec07bc
Plugins loading was broken as those patches were removed
in latest release. I brought patches back and updated them
onto 2.38 release code base.
This closes#35446.
Some part of Mono is trying to dynamically load GTK - starting `keepass`
always shows warning:
```
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
```
`*.desktop` file now:
- Refers to an icon.
- Is placed in the proper category (based on comparison with `keepassx2`.
- Has proper mime type (also based on comparison).
Also, now use `icoutils` to extract icons from the application ressouces
and transform them from `*.ico` to `*.png`. Created and used a generic
script that has the ability to move the extracted `*.png` to their
appropriate standard freedesktop location.
Tested this on nixos. `keepass` now has a icon and is categorized
in the same bin as `keepassx2`. The program still execute and
function prefectly.
- fetchNuGet can fetch binaries from nuget servers
- buildDotnetPackage can build .NET packages using mono/xbuild
- Places nuget & paket as they would clash with nix
- Patch project files because F# targets are expected to be found in
the mono directory (and we know that's not going to happen on nix)
- Find DLLs that were copied from buildInputs and replace by symlink
for sharing
- Export produced DLL via the pkg-config mechanism
- Create wrappers for produced EXEs
- Repackaged this new infrastructure: keepass, monodevelop
- Newly packaged: ExtCore, UnionArgParser, FSharp.Data, Paket, and a
bunch more..
This is a combination of 73 commits.