git.iko.soy/typeable/cabal2nix
on 18c2240 help sign in
13 lines 326 B history raw
1{-# LANGUAGE GeneralizedNewtypeDeriving #-}
3module Language.Nix.Path where
5import Control.Lens
6import Data.String
7import Distribution.Nix.Util.PrettyPrinting -- ( Pretty(..), text )
8import Language.Nix.Identifier
10-- | Paths are non-empty lists of identifiers in Nix.
12newtype Path = Path [Identifier]
13 deriving (Show, Eq)