From a603b35cd94f1f74bf6d6897c9885566aa88b877 Mon Sep 17 00:00:00 2001 From: Matt Renaud Date: Wed, 8 Apr 2020 17:43:08 -0700 Subject: [PATCH] Default to SPDX.NONE license in cabal init interactive mode. --- cabal-install/Distribution/Client/Init/Command.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/Distribution/Client/Init/Command.hs b/cabal-install/Distribution/Client/Init/Command.hs index fb446eb1979..7f6a7afc2c4 100644 --- a/cabal-install/Distribution/Client/Init/Command.hs +++ b/cabal-install/Distribution/Client/Init/Command.hs @@ -268,7 +268,7 @@ getVersion flags = do getLicense :: InitFlags -> IO InitFlags getLicense flags = do elic <- return (fmap Right $ flagToMaybe $ license flags) - ?>> maybePrompt flags (promptList "Please choose a license" listedLicenses Nothing prettyShow True) + ?>> maybePrompt flags (promptList "Please choose a license" listedLicenses (Just SPDX.NONE) prettyShow True) case elic of Nothing -> return flags { license = NoFlag }