Skip to content
Snippets Groups Projects
Commit aabe5625 authored by Patrick Augusto's avatar Patrick Augusto Committed by Emily Pillmore
Browse files

Fixing the flag boolean and the fixtures dir name

parent 0723e383
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ configureAction' flags@NixStyleFlags {..} _extraArgs globalFlags = do
appends = fromFlagOrDefault False $ configAppend configExFlags
backupFile = localFile <> "~"
when (exists && not backups) $ do
when (exists && backups) $ do
notice v $
quote (takeFileName localFile) <> " already exists, backing it up to "
<> quote (takeFileName backupFile) <> "."
......
......@@ -97,4 +97,4 @@ configureTests = testGroup "Configure tests"
]
projectFile :: FilePath
projectFile = "tests" </> "fixtures" </> "reconfigure" </> "cabal.project"
projectFile = "tests" </> "fixtures" </> "configure" </> "cabal.project"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment