Skip to content

Commit b5761da

Browse files
authored
Merge pull request #11191 from zlonast/remove-nix-integration
Remove Nix integration
2 parents 222ebb2 + aed7c2a commit b5761da

File tree

16 files changed

+202
-942
lines changed

16 files changed

+202
-942
lines changed

cabal-install/cabal-install.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ library
174174
Distribution.Client.Main
175175
Distribution.Client.Manpage
176176
Distribution.Client.ManpageFlags
177-
Distribution.Client.Nix
178177
Distribution.Client.NixStyleOptions
179178
Distribution.Client.PackageHash
180179
Distribution.Client.ParseUtils

cabal-install/src/Distribution/Client/Config.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ instance Semigroup SavedConfig where
368368
, globalLogsDir = combine globalLogsDir
369369
, globalIgnoreExpiry = combine globalIgnoreExpiry
370370
, globalHttpTransport = combine globalHttpTransport
371-
, globalNix = combine globalNix
372371
, globalStoreDir = combine globalStoreDir
373372
, globalProgPathExtra = lastNonEmptyNL globalProgPathExtra
374373
}
@@ -1112,7 +1111,6 @@ commentSavedConfig = do
11121111
{ savedGlobalFlags =
11131112
defaultGlobalFlags
11141113
{ globalRemoteRepos = toNubList [defaultRemoteRepo]
1115-
, globalNix = mempty
11161114
}
11171115
, savedInitFlags =
11181116
mempty

cabal-install/src/Distribution/Client/GlobalFlags.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ data GlobalFlags = GlobalFlags
9393
, globalIgnoreExpiry :: Flag Bool
9494
-- ^ Ignore security expiry dates
9595
, globalHttpTransport :: Flag String
96-
, globalNix :: Flag Bool
97-
-- ^ Integrate with Nix
9896
, globalStoreDir :: Flag FilePath
9997
, globalProgPathExtra :: NubList FilePath
10098
-- ^ Extra program path used for packagedb lookups in a global context (i.e. for http transports)
@@ -115,7 +113,6 @@ defaultGlobalFlags =
115113
, globalLogsDir = mempty
116114
, globalIgnoreExpiry = Flag False
117115
, globalHttpTransport = mempty
118-
, globalNix = Flag False
119116
, globalStoreDir = mempty
120117
, globalProgPathExtra = mempty
121118
}

0 commit comments

Comments
 (0)