nixpkgs/nixos/modules/services
Luflosi faad370edc nixos/ipfs: fix the services.ipfs.autoMigrate option
Apparently this was never properly tested and never worked. When the IPFS repo needs upgrading, the first call to ipfs, which is run before running the migration, fails with the error message "Error: ipfs repo needs migration".
To fix this, simply run the migration before any `ipfs config` calls but don't run it when `dataDir` is empty and we need to call `ipfs init`.
Writing a NixOS test for this would require keeping at least two versions of IPFS in Nixpkgs, which we don't currently do.
2022-04-16 07:38:13 -04:00
..
admin
amqp
audio
backup
blockchain/ethereum
cluster
computing
continuous-integration
databases nixos/cockroachdb: use escapeSystemdExecArgs for ExecStart args 2022-04-12 10:34:56 +02:00
desktops
development Merge pull request #137335 from dsg22/feature-jupyter-create-system-user 2022-04-03 18:22:04 +01:00
display-managers
editors
finance
games
hardware Merge pull request #167349 from helsinki-systems/feat/udev-systemd-stage-1 2022-04-12 21:02:52 +01:00
home-automation
logging nixos/logrotate: use packages from buildPackages in configuration checkPhase, fixing cross compilation 2022-04-16 10:22:39 +02:00
mail Merge pull request #167323 from alyssais/mailman-ext_dir 2022-04-12 21:27:27 +02:00
matrix nixos/matrix-synapse: fix typo in mkRemovedOptionModule replacementInstructions 2022-04-15 22:52:29 +02:00
misc Merge pull request #156401 from TLATER/tlater/gitea-hide-secrets 2022-04-15 10:26:12 +02:00
monitoring Merge pull request #162777 from amarshall/prom-deprecated-opt 2022-04-12 09:07:51 +01:00
network-filesystems nixos/ipfs: fix the services.ipfs.autoMigrate option 2022-04-16 07:38:13 -04:00
networking nixos/ncdns: listen on IPv6 by default 2022-04-14 21:07:15 +02:00
printing
scheduling
search
security
system
torrent
ttys
video
wayland
web-apps Merge pull request #167378 from talyz/keycloak-quarkus 2022-04-15 22:02:42 +02:00
web-servers nixos/nginx: add extraParameters to http3 protocol 2022-04-11 22:33:12 +02:00
x11 nixos/desktop-managers: Fix eval 2022-04-14 06:53:08 +02:00