packages feed

b9 0.5.60 → 0.5.61

raw patch · 3 files changed

+12/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

b9.cabal view
@@ -1,5 +1,5 @@ name:                b9-version:             0.5.60+version:             0.5.61  synopsis:            A tool and library for building virtual machine images. 
src/cli/Main.hs view
@@ -39,6 +39,8 @@                 &  customB9Config                 %~ (over envVars (++ vars) . const (overrides ^. customB9Config)                    )+                &  customLibVirtNetwork+                .~ (overrides ^. customLibVirtNetwork)                 &  maybe id                          overrideB9ConfigPath                          (overrides ^. customB9ConfigPath)@@ -180,8 +182,8 @@                   , _customB9Config       = b9cfg                   , _customLibVirtNetwork =                       (\n -> if n == hostNetworkMagicValue-                              then Just n-                              else Nothing+                              then Nothing+                              else Just n                           )                           <$> libvirtNet                   }@@ -207,7 +209,7 @@                    (strArgument idm)                )                (progDesc-                   "Run a command on the lastest version of the specified shared image. All modifications are lost on exit."+                   "Run a command on the lastest version of the specified shared image."                )            )     <> command
src/lib/B9/B9Config.hs view
@@ -247,8 +247,13 @@             let rc = permanentConfig Sem.<> (cfg ^. customB9Config)             in  case cfg ^. customLibVirtNetwork of                   Just overridenNetwork ->-                    rc & libVirtLXCConfigs . _Just . networkId .~ overridenNetwork+                    rc+                      &  libVirtLXCConfigs+                      .  _Just+                      .  networkId+                      .~ overridenNetwork                   Nothing -> rc+       (res, permanentB9ConfigUpdates) <- runWriterT         (runReaderT (runB9ConfigAction act) runtimeCfg)