forked from mirrors/nixpkgs
faad370edc
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. |
||
---|---|---|
.. | ||
litestream | ||
openafs | ||
orangefs | ||
cachefilesd.nix | ||
ceph.nix | ||
davfs2.nix | ||
diod.nix | ||
drbd.nix | ||
glusterfs.nix | ||
ipfs.nix | ||
kbfs.nix | ||
moosefs.nix | ||
netatalk.nix | ||
nfsd.nix | ||
rsyncd.nix | ||
samba-wsdd.nix | ||
samba.nix | ||
tahoe.nix | ||
u9fs.nix | ||
webdav-server-rs.nix | ||
webdav.nix | ||
xtreemfs.nix | ||
yandex-disk.nix |