From 0044726a62179d25edd19e57b9bcd81c567ef6ee Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 17 Dec 2025 09:23:23 -0500 Subject: Fix Manifest.hs FromJSON parsers Wrap parser chains in parentheses to fix compilation errors from incorrect use of Artifact - o .: "storePath" @@ -95,8 +93,7 @@ instance Aeson.FromJSON Exec where parseJSON = Aeson.withObject "Exec" <| \o -> Exec - o .:? "user" .!= "root" @@ -126,8 +123,7 @@ instance Aeson.FromJSON Http where parseJSON = Aeson.withObject "Http" <| \o -> Http - o .:? "path" .!= "/" @@ -154,9 +150,7 @@ instance Aeson.FromJSON Systemd where parseJSON = Aeson.withObject "Systemd" <| \o -> Systemd - o .:? "requires" .!= [] @@ -191,9 +185,7 @@ instance Aeson.FromJSON Hardening where parseJSON = Aeson.withObject "Hardening" <| \o -> Hardening - o .:? "privateTmp" .!= True @@ -234,8 +226,7 @@ instance Aeson.FromJSON Service where parseJSON = Aeson.withObject "Service" <| \o -> Service - o .: "artifact" <*> o @@ -286,9 +277,7 @@ instance Aeson.FromJSON Manifest where parseJSON = Aeson.withObject "Manifest" <| \o -> Manifest - o .: "generation" <*> o -- cgit v1.2.3