Commit Graph

482437 Commits

Author SHA1 Message Date
Mark Ruvald Pedersen
66fb2f539a nixos/proxmox-image: Disable O_DIRECT to fix assert
Context summary:
'vma create' can't otherwise write to tmpfs such as /dev/shm.
This is important when used from non-nixos machines which may
have /build as tmpfs.

VMA is Proxmox's virtual machine image format that wraps QEMU images,
augmenting these with proxmox-specific configuration file.
proxmox-image.nix uses the VMA tool to create vma image files.
The VMA tool exists as a patchset ontop of QEMU.

VMA writes its output with open() and O_DIRECT flag.
O_DIRECT does not work on Linux tmpfs [1]. Thus:
$ vma create ~/output.vma ...  # works, assuming home isn't tmpfs.
$ vma create /dev/shm/output.vma ...  # fails since /dev/shm is tmpfs
Failure results in assert(*errp == NULL).

O_DIRECT is a cache performance hint.
But it currently blocks our usage of nixos-generate -f proxmox from
Non-NixOS hosts and Docker.

The patch here simply removes O_DIRECT:
vma-writer.c later performs memalign due to O_DIRECT, but this is
safe to do with or without O_DIRECT.
Ideally, this should be fixed in upstream Proxmox: Perhaps by falling
back to open without O_DIRECT.

Another attempt to fix this SIGABRT is [2], which writes the vma file
directory to $out/ folder -- however that may still be tmpfs mounted
which it is in our case.

[1] https://lore.kernel.org/lkml/45A29EC2.8020502@tmr.com/t/
[2] https://github.com/NixOS/nixpkgs/pull/224282
2023-05-08 12:33:41 +02:00
R. Ryantm
ae2c832797 buf: 1.17.0 -> 1.18.0 2023-05-08 10:32:08 +00:00
rewine
82c778627d
nixos/release: add deepin closure 2023-05-08 18:25:41 +08:00
rewine
22463e0c0a
qtcreator-qt6: 10.0.0 -> 10.0.1 2023-05-08 18:19:58 +08:00
Domen Kožar
8fa10a0118 Add nodePackages.dotenv-vault 2023-05-08 11:08:17 +01:00
Lassulus
fd40cef8d7
Merge pull request #224792 from ivankovnatsky/patch-38
stc-cli: init at 1.4
2023-05-08 11:49:51 +02:00
Jörg Thalheim
3288479636 nixos/envfs: make mounts non-critical
We usually don't want to bring the whole machine into emergency mode
just because we couldn't mount envfs. It's usually not on the critical
path.
2023-05-08 11:24:18 +02:00
R. Ryantm
4f147aba44 odo: 3.9.0 -> 3.10.0 2023-05-08 09:19:38 +00:00
Martin Weinelt
4776229225
Merge pull request #230594 from mweinelt/rules-3.3.0
python310Packages.rules: init at 3.3.0
2023-05-08 11:15:49 +02:00
aktaboot
19c9424dc4 vimPlugins.nvim-treesitter: update grammars 2023-05-08 11:14:36 +02:00
aktaboot
d1c650ffce vimPlugins: resolve github repository redirects 2023-05-08 11:13:59 +02:00
aktaboot
050ae0b8c3 vimPlugins: update 2023-05-08 11:12:44 +02:00
QJoly
49a401bd9f k9s: 0.27.3 -> 0.27.4 2023-05-08 11:02:23 +02:00
Martin Weinelt
2bb88378bd
Merge pull request #230631 from fabaff/aioesphomeapi-bump
python310Packages.aioesphomeapi: 13.7.3 -> 13.7.4
2023-05-08 11:01:56 +02:00
R. Ryantm
8f7728b109 aiac: 2.2.0 -> 2.4.0 2023-05-08 08:47:38 +00:00
Azat Bahawi
d9b8ae36f3
Merge pull request #230549 from azahi/shod-262
shod: 2.5.0 -> 2.6.2
2023-05-08 11:46:25 +03:00
Weijia Wang
f7b1497128
Merge pull request #230548 from panicgh/remove-old-boost
boost: remove unused pkgs and cleanup
2023-05-08 11:35:59 +03:00
Weijia Wang
210286c48d
Merge pull request #230505 from afh/gnupg-libgcrypt-add-changelog
gnupg libgcrypt: Add changelog
2023-05-08 11:34:03 +03:00
Martin Weinelt
227778a165
python310Packages.rules: init at 3.3.0 2023-05-08 10:33:05 +02:00
R. Ryantm
88e433cd98 harmonia: 0.6.2 -> 0.6.3 2023-05-08 08:32:28 +00:00
Fabian Affolter
86cf3fca1f python310Packages.fakeredis: 2.11.2 -> 2.12.0
Changelog: https://github.com/cunla/fakeredis-py/releases/tag/v2.12.0
2023-05-08 10:29:54 +02:00
Weijia Wang
b02a392d57
Merge pull request #230430 from r-ryantm/auto-update/cgal_5
cgal_5: 5.5.1 -> 5.5.2
2023-05-08 11:29:00 +03:00
Fabian Affolter
62621d615a python310Packages.aioesphomeapi: 13.7.3 -> 13.7.4
Changelog: https://github.com/esphome/aioesphomeapi/releases/tag/v13.7.4
2023-05-08 10:26:53 +02:00
Ivan Kovnatsky
d384201cb9
stc-cli: init at 1.4 2023-05-08 11:26:22 +03:00
Fabian Affolter
3c4a3aba89
Merge pull request #230564 from r-ryantm/auto-update/python310Packages.pynamodb
python310Packages.pynamodb: 5.4.1 -> 5.5.0
2023-05-08 10:24:00 +02:00
Aaron Jheng
7ec3f49e55
starlark: unstable-2023-01-12 -> unstable-2023-03-02 2023-05-08 08:22:16 +00:00
R. Ryantm
09be62f24a velero: 1.10.2 -> 1.10.3 2023-05-08 08:18:38 +00:00
Martin Weinelt
6caac5b6c4
Merge pull request #230595 from mweinelt/urlman-2.0.1
python310Packages.urlman: init at 2.0.1
2023-05-08 10:16:54 +02:00
Weijia Wang
7026085169
Merge pull request #230614 from r-ryantm/auto-update/hyprpaper
hyprpaper: 0.1.0 -> 0.2.0
2023-05-08 11:05:12 +03:00
Fabian Affolter
17c9a81eb8
Merge pull request #230555 from r-ryantm/auto-update/python310Packages.pure-protobuf
python310Packages.pure-protobuf: 2.2.3 -> 2.3.0
2023-05-08 10:02:37 +02:00
Fabian Affolter
287fa07565
Merge pull request #230556 from fabaff/metasploit-bump
metasploit: 6.3.14 -> 6.3.15
2023-05-08 10:02:22 +02:00
R. Ryantm
0c10795b20 iosevka-bin: 22.1.0 -> 22.1.1 2023-05-08 07:55:24 +00:00
Fabian Affolter
5d2c0216f5
Merge pull request #230589 from r-ryantm/auto-update/python310Packages.xmlschema
python310Packages.xmlschema: 2.2.1 -> 2.2.3
2023-05-08 09:55:17 +02:00
Fabian Affolter
c9c1dc88e9
Merge pull request #230600 from r-ryantm/auto-update/python310Packages.oci
python310Packages.oci: 2.93.0 -> 2.100.0
2023-05-08 09:51:08 +02:00
R. Ryantm
21bfc01c65 terragrunt: 0.45.8 -> 0.45.9 2023-05-08 07:32:40 +00:00
Weijia Wang
8fb30e1471
Merge pull request #230598 from r-ryantm/auto-update/whois
whois: 5.5.16 -> 5.5.17
2023-05-08 09:16:34 +03:00
R. Ryantm
0f1a8bbf31 s2n-tls: 1.3.42 -> 1.3.43 2023-05-08 06:14:59 +00:00
Weijia Wang
cda793ede9
Merge pull request #230563 from figsoda/jql
jql: 6.0.6 -> 6.0.7
2023-05-08 09:12:18 +03:00
Weijia Wang
1f0a8d330d
Merge pull request #230611 from applePrincess/exploitdb-bump
exploitdb: 2023-05-06 -> 2023-05-08
2023-05-08 09:10:02 +03:00
Weijia Wang
f968b67a63
Merge pull request #230586 from wozeparrot/update-seaweedfs
seaweedfs: 3.48 -> 3.49
2023-05-08 09:08:42 +03:00
Renato Garcia
9d1a27e2fd
snakemake: 7.14.2 -> 7.25.3 (#230524) 2023-05-08 02:05:40 -04:00
Weijia Wang
6c3e79e0ad
Merge pull request #230570 from r-ryantm/auto-update/obs-studio-plugins.obs-move-transition
obs-studio-plugins.obs-move-transition: 2.8.0 -> 2.9.0
2023-05-08 09:03:26 +03:00
Weijia Wang
37561b5947
Merge pull request #230568 from r-ryantm/auto-update/symfony-cli
symfony-cli: 5.5.4 -> 5.5.5
2023-05-08 09:03:14 +03:00
R. Ryantm
ccdcf36926 hyprpaper: 0.1.0 -> 0.2.0 2023-05-08 05:30:58 +00:00
R. Ryantm
71bc247505 rymdport: 3.3.4 -> 3.3.5 2023-05-08 05:13:41 +00:00
hiljusti
42fa5c3703 findup: 1.0 -> 1.1 2023-05-07 21:46:08 -07:00
Lein Matsumaru
4148410a8d
exploitdb: 2023-05-06 -> 2023-05-08 2023-05-08 04:29:32 +00:00
Mario Rodas
c8fed841a9 python310Packages.m3u8: 0.9.0 -> 3.4.0 2023-05-08 04:20:00 +00:00
Mario Rodas
956989c424 gallery-dl: 1.25.3 -> 1.25.4
https://github.com/mikf/gallery-dl/releases/tag/v1.25.4
2023-05-08 04:20:00 +00:00
Mario Rodas
c9e0280ecc chat-downloader: 0.2.4 -> 0.2.5
Changelog: https://github.com/xenova/chat-downloader/releases/tag/v0.2.5

Diff: https://github.com/xenova/chat-downloader/compare/v0.2.4...v0.2.5
2023-05-08 04:20:00 +00:00