  | Magic ' PackageName 's .
--
  @since 3.0.0.0
module Distribution.Types.PackageName.Magic where

import Distribution.Types.PackageId
import Distribution.Types.PackageName
import Distribution.Types.Version

-- | Used as a placeholder in "Distribution.Backpack.ReadyComponent"
nonExistentPackageThisIsCabalBug :: PackageName
nonExistentPackageThisIsCabalBug = mkPackageName "nonexistent-package-this-is-a-cabal-bug"

  | Used by  new - repl@ ,  new - run@ and  new - build@
fakePackageName :: PackageName
fakePackageName = mkPackageName "fake-package"

  | Used by  new - run@ and  new - build@
fakePackageCabalFileName :: FilePath
fakePackageCabalFileName = "fake-package.cabal"

  | ' fakePackageName ' with '  ' .
fakePackageId :: PackageId
fakePackageId = PackageIdentifier fakePackageName version0


 | Used as a placeholder in "Distribution.Backpack.ReadyComponent"
  | Magic ' PackageName 's .
  @since 3.0.0.0
module Distribution.Types.PackageName.Magic where

import Distribution.Types.PackageId
import Distribution.Types.PackageName
import Distribution.Types.Version

nonExistentPackageThisIsCabalBug :: PackageName
nonExistentPackageThisIsCabalBug = mkPackageName "nonexistent-package-this-is-a-cabal-bug"

  | Used by  new - repl@ ,  new - run@ and  new - build@
fakePackageName :: PackageName
fakePackageName = mkPackageName "fake-package"

  | Used by  new - run@ and  new - build@
fakePackageCabalFileName :: FilePath
fakePackageCabalFileName = "fake-package.cabal"

  | ' fakePackageName ' with '  ' .
fakePackageId :: PackageId
fakePackageId = PackageIdentifier fakePackageName version0
