Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- inline_c_ffi_6989586621679089855 :: Ptr NixStorePath -> Ptr NixStorePath -> IO CInt
- inline_c_ffi_6989586621679089865 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089943 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO (Ptr (Ref NixStore))
- inline_c_ffi_6989586621679089952 :: Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679089983 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr (Ref NixStore))
- inline_c_ffi_6989586621679089992 :: Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679090001 :: Ptr (Ref NixStore) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090010 :: Ptr (Ref NixStore) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090034 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO CInt
- inline_c_ffi_6989586621679090055 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO CInt
- inline_c_ffi_6989586621679090061 :: IO (FunPtr (Ptr NixStorePath -> IO ()))
- inline_c_ffi_6989586621679090089 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679090119 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679090127 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090135 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090146 :: Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090172 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO ()
- inline_c_ffi_6989586621679090196 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679090217 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO ()
- inline_c_ffi_6989586621679090223 :: IO (FunPtr (Ptr NixStorePathWithOutputs -> IO ()))
- inline_c_ffi_6989586621679090235 :: Ptr NixStorePath -> Ptr (CStdSet CStdString) -> IO (Ptr NixStorePathWithOutputs)
- inline_c_ffi_6989586621679090243 :: Ptr NixStorePathWithOutputs -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679090266 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePathWithOutputs -> IO (Ptr (CStdVector CStdString))
- inline_c_ffi_6989586621679090292 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdVector NixStorePathWithOutputs) -> IO ()
- inline_c_ffi_6989586621679090300 :: IO (FunPtr (Ptr Derivation -> IO ()))
- inline_c_ffi_6989586621679090326 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr Derivation)
- inline_c_ffi_6989586621679090362 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> Ptr CChar -> CLong -> IO (Ptr Derivation)
- inline_c_ffi_6989586621679090385 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090395 :: Ptr Derivation -> IO (Ptr DerivationOutputsIterator)
- inline_c_ffi_6989586621679090406 :: Ptr DerivationOutputsIterator -> Ptr Derivation -> IO CBool
- inline_c_ffi_6989586621679090459 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> Ptr DerivationOutputsIterator -> Ptr (Ptr CChar) -> Ptr CInt -> Ptr (Ptr NixStorePath) -> Ptr CInt -> Ptr CInt -> Ptr (Ptr CChar) -> Ptr CInt -> Ptr Derivation -> IO ()
- inline_c_ffi_6989586621679090525 :: Ptr DerivationOutputsIterator -> IO ()
- inline_c_ffi_6989586621679090533 :: Ptr Derivation -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090541 :: Ptr Derivation -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090564 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings)
- inline_c_ffi_6989586621679090587 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr (CStdVector (Ptr NixStorePath)))
- inline_c_ffi_6989586621679090596 :: Ptr Derivation -> IO (Ptr DerivationInputsIterator)
- inline_c_ffi_6989586621679090607 :: Ptr DerivationInputsIterator -> Ptr Derivation -> IO CBool
- inline_c_ffi_6989586621679090631 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr DerivationInputsIterator -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679090640 :: Ptr DerivationInputsIterator -> IO (Ptr Strings)
- inline_c_ffi_6989586621679090649 :: Ptr DerivationInputsIterator -> IO ()
- inline_c_ffi_6989586621679090658 :: Ptr DerivationInputsIterator -> IO ()
- inline_c_ffi_6989586621679090666 :: Ptr Derivation -> IO (Ptr StringPairs)
- inline_c_ffi_6989586621679090689 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings)
- inline_c_ffi_6989586621679090698 :: Ptr StringPairs -> IO ()
- inline_c_ffi_6989586621679090707 :: Ptr Strings -> IO ()
- inline_c_ffi_6989586621679090713 :: IO (FunPtr (Ptr Strings -> IO ()))
- inline_c_ffi_6989586621679090722 :: Ptr Strings -> IO CSize
- inline_c_ffi_6989586621679090731 :: Ptr Strings -> IO (Ptr StringsIterator)
- inline_c_ffi_6989586621679090743 :: Ptr StringsIterator -> Ptr Strings -> IO CBool
- inline_c_ffi_6989586621679090752 :: Ptr StringsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090762 :: Ptr StringsIterator -> IO ()
- inline_c_ffi_6989586621679090771 :: Ptr StringPairs -> IO (Ptr StringPairsIterator)
- inline_c_ffi_6989586621679090783 :: Ptr StringPairsIterator -> Ptr StringPairs -> IO CBool
- inline_c_ffi_6989586621679090792 :: Ptr StringPairsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090801 :: Ptr StringPairsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679090812 :: Ptr StringPairsIterator -> IO ()
- inline_c_ffi_6989586621679090818 :: IO (Ptr Strings)
- inline_c_ffi_6989586621679090827 :: Ptr Strings -> IO ()
- inline_c_ffi_6989586621679090843 :: Ptr Strings -> Ptr CChar -> IO ()
- inline_c_ffi_6989586621679090876 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (Ref NixStore) -> Ptr (CStdVector (Ptr NixStorePath)) -> IO ()
- inline_c_ffi_6989586621679090902 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr SecretKey)
- inline_c_ffi_6989586621679090908 :: IO (FunPtr (Ptr SecretKey -> IO ()))
- inline_c_ffi_6989586621679090937 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> Ptr SecretKey -> IO CInt
- inline_c_ffi_6989586621679090967 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679090993 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr (Ref ValidPathInfo))
- inline_c_ffi_6989586621679091000 :: IO (FunPtr (Ptr (Ref ValidPathInfo) -> IO ()))
- inline_c_ffi_6989586621679091008 :: Ptr (Ref ValidPathInfo) -> IO CLong
- inline_c_ffi_6989586621679091016 :: Ptr (Ref ValidPathInfo) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679091039 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679091062 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr (CStdVector (Ptr NixStorePath)))
- inline_c_ffi_6989586621679091104 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdSet NixStorePath) -> Ptr (CStdSet NixStorePath) -> CInt -> CInt -> CInt -> IO ()
- data ClosureParams = ClosureParams {}
- data HashType
- data Hash = Hash !HashType !ShortByteString
- data FileIngestionMethod
- data FixedOutputHash = FixedOutputHash !FileIngestionMethod !Hash
- data DerivationOutputDetail
- data DerivationOutput = DerivationOutput {}
- newtype Derivation = Derivation (ForeignPtr Derivation)
- newtype StorePathWithOutputs = StorePathWithOutputs (ForeignPtr NixStorePathWithOutputs)
- newtype StorePath = StorePath (ForeignPtr NixStorePath)
- newtype Store = Store (Ptr (Ref NixStore))
- forNonNull :: Applicative m => Ptr a -> (Ptr a -> m b) -> m (Maybe b)
- traverseNonNull :: Applicative m => (Ptr a -> m b) -> Ptr a -> m (Maybe b)
- openStore :: IO Store
- releaseStore :: Store -> IO ()
- withStore :: MonadUnliftIO m => (Store -> m a) -> m a
- withStore' :: (Store -> IO r) -> IO r
- withStoreFromURI :: MonadUnliftIO m => Text -> (Store -> m r) -> m r
- storeUri :: MonadIO m => Store -> m ByteString
- storeDir :: MonadIO m => Store -> m ByteString
- getStoreProtocolVersion :: Store -> IO Int
- getClientProtocolVersion :: IO Int
- finalizeStorePath :: FinalizerPtr NixStorePath
- moveStorePath :: Ptr NixStorePath -> IO StorePath
- moveStorePathMaybe :: Ptr NixStorePath -> IO (Maybe StorePath)
- parseStorePathBaseName :: ByteString -> IO StorePath
- parseStorePath :: Store -> ByteString -> IO StorePath
- getStorePathBaseName :: StorePath -> IO ByteString
- getStorePathHash :: StorePath -> IO ByteString
- storePathToPath :: Store -> StorePath -> IO ByteString
- ensurePath :: Store -> StorePath -> IO ()
- clearPathInfoCache :: Store -> IO ()
- clearSubstituterCaches :: IO ()
- finalizeStorePathWithOutputs :: FinalizerPtr NixStorePathWithOutputs
- newStorePathWithOutputs :: StorePath -> [ByteString] -> IO StorePathWithOutputs
- getStorePath :: StorePathWithOutputs -> IO StorePath
- getOutputs :: StorePathWithOutputs -> IO [ByteString]
- buildPaths :: Store -> StdVector NixStorePathWithOutputs -> IO ()
- buildPath :: Store -> StorePathWithOutputs -> IO ()
- finalizeDerivation :: FinalizerPtr Derivation
- getDerivation :: Store -> StorePath -> IO Derivation
- getDerivationFromString :: Store -> ByteString -> ByteString -> IO Derivation
- getDerivationNameFromPath :: StorePath -> IO ByteString
- getDerivationOutputs :: Store -> ByteString -> Derivation -> IO [DerivationOutput]
- deleteDerivationOutputsIterator :: Ptr DerivationOutputsIterator -> IO ()
- getDerivationPlatform :: Derivation -> IO ByteString
- getDerivationBuilder :: Derivation -> IO ByteString
- getDerivationArguments :: Derivation -> IO [ByteString]
- getDerivationSources :: Store -> Derivation -> IO [StorePath]
- getDerivationSources' :: Derivation -> IO [StorePath]
- getDerivationInputs :: Store -> Derivation -> IO [(StorePath, [ByteString])]
- getDerivationInputs' :: Derivation -> IO [(StorePath, [ByteString])]
- deleteDerivationInputsIterator :: Ptr DerivationInputsIterator -> IO ()
- getDerivationEnv :: Derivation -> IO (Map ByteString ByteString)
- getDerivationOutputNames :: ForeignPtr Derivation -> IO [ByteString]
- deleteStringPairs :: Ptr StringPairs -> IO ()
- deleteStrings :: Ptr Strings -> IO ()
- finalizeStrings :: FinalizerPtr Strings
- getStringsLength :: Ptr Strings -> IO CSize
- toByteStrings :: Ptr Strings -> IO [ByteString]
- toByteStringMap :: Ptr StringPairs -> IO (Map ByteString ByteString)
- withStrings :: (Ptr Strings -> IO a) -> IO a
- withStringsOf :: [ByteString] -> (Ptr Strings -> IO a) -> IO a
- pushString :: Ptr Strings -> ByteString -> IO ()
- copyClosure :: Store -> Store -> [StorePath] -> IO ()
- parseSecretKey :: ByteString -> IO (ForeignPtr SecretKey)
- finalizeSecretKey :: FinalizerPtr SecretKey
- signPath :: Store -> Ptr SecretKey -> StorePath -> IO Bool
- followLinksToStorePath :: Store -> ByteString -> IO StorePath
- queryPathInfo :: Store -> StorePath -> IO (ForeignPtr (Ref ValidPathInfo))
- finalizeRefValidPathInfo :: FinalizerPtr (Ref ValidPathInfo)
- validPathInfoNarSize :: ForeignPtr (Ref ValidPathInfo) -> Int64
- validPathInfoNarHash32 :: ForeignPtr (Ref ValidPathInfo) -> IO ByteString
- validPathInfoDeriver :: Store -> ForeignPtr (Ref ValidPathInfo) -> IO (Maybe StorePath)
- validPathInfoDeriver' :: ForeignPtr (Ref ValidPathInfo) -> IO (Maybe StorePath)
- validPathInfoReferences :: Store -> ForeignPtr (Ref ValidPathInfo) -> IO [StorePath]
- validPathInfoReferences' :: ForeignPtr (Ref ValidPathInfo) -> IO [StorePath]
- defaultClosureParams :: ClosureParams
- computeFSClosure :: Store -> ClosureParams -> StdSet NixStorePath -> IO (StdSet NixStorePath)
- withPtr' :: Coercible a' (ForeignPtr a) => a' -> (Ptr a -> IO b) -> IO b
- data NixStorePath
- data SecretKey
- data StringPairs
- data DerivationInputsIterator
- data DerivationOutputsIterator
- data ValidPathInfo
- data NixStore
- data Strings
- data Ref a
- context :: Context
- unsafeMallocBS :: MonadIO m => IO CString -> m ByteString
Documentation
inline_c_ffi_6989586621679089943 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO (Ptr (Ref NixStore)) Source #
inline_c_ffi_6989586621679089983 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr (Ref NixStore)) Source #
inline_c_ffi_6989586621679090034 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO CInt Source #
inline_c_ffi_6989586621679090055 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO CInt Source #
inline_c_ffi_6989586621679090061 :: IO (FunPtr (Ptr NixStorePath -> IO ())) Source #
inline_c_ffi_6989586621679090089 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679090119 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679090146 :: Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679090172 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO () Source #
inline_c_ffi_6989586621679090196 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO () Source #
inline_c_ffi_6989586621679090217 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO () Source #
inline_c_ffi_6989586621679090223 :: IO (FunPtr (Ptr NixStorePathWithOutputs -> IO ())) Source #
inline_c_ffi_6989586621679090235 :: Ptr NixStorePath -> Ptr (CStdSet CStdString) -> IO (Ptr NixStorePathWithOutputs) Source #
inline_c_ffi_6989586621679090266 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePathWithOutputs -> IO (Ptr (CStdVector CStdString)) Source #
inline_c_ffi_6989586621679090292 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdVector NixStorePathWithOutputs) -> IO () Source #
inline_c_ffi_6989586621679090300 :: IO (FunPtr (Ptr Derivation -> IO ())) Source #
inline_c_ffi_6989586621679090326 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr Derivation) Source #
inline_c_ffi_6989586621679090362 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> Ptr CChar -> CLong -> IO (Ptr Derivation) Source #
inline_c_ffi_6989586621679090385 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePath -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679090406 :: Ptr DerivationOutputsIterator -> Ptr Derivation -> IO CBool Source #
inline_c_ffi_6989586621679090459 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> Ptr DerivationOutputsIterator -> Ptr (Ptr CChar) -> Ptr CInt -> Ptr (Ptr NixStorePath) -> Ptr CInt -> Ptr CInt -> Ptr (Ptr CChar) -> Ptr CInt -> Ptr Derivation -> IO () Source #
inline_c_ffi_6989586621679090564 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings) Source #
inline_c_ffi_6989586621679090587 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr (CStdVector (Ptr NixStorePath))) Source #
inline_c_ffi_6989586621679090607 :: Ptr DerivationInputsIterator -> Ptr Derivation -> IO CBool Source #
inline_c_ffi_6989586621679090631 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr DerivationInputsIterator -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679090689 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings) Source #
inline_c_ffi_6989586621679090698 :: Ptr StringPairs -> IO () Source #
inline_c_ffi_6989586621679090876 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (Ref NixStore) -> Ptr (CStdVector (Ptr NixStorePath)) -> IO () Source #
inline_c_ffi_6989586621679090902 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr SecretKey) Source #
inline_c_ffi_6989586621679090937 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> Ptr SecretKey -> IO CInt Source #
inline_c_ffi_6989586621679090967 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679090993 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr (Ref ValidPathInfo)) Source #
inline_c_ffi_6989586621679091000 :: IO (FunPtr (Ptr (Ref ValidPathInfo) -> IO ())) Source #
inline_c_ffi_6989586621679091016 :: Ptr (Ref ValidPathInfo) -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679091039 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679091062 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr (CStdVector (Ptr NixStorePath))) Source #
inline_c_ffi_6989586621679091104 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdSet NixStorePath) -> Ptr (CStdSet NixStorePath) -> CInt -> CInt -> CInt -> IO () Source #
data ClosureParams Source #
See hash.hh
See hash.hh
data FileIngestionMethod Source #
See content-address.hh
Instances
Show FileIngestionMethod Source # | |
Defined in Hercules.CNix.Store showsPrec :: Int -> FileIngestionMethod -> ShowS # show :: FileIngestionMethod -> String # showList :: [FileIngestionMethod] -> ShowS # | |
Eq FileIngestionMethod Source # | |
Defined in Hercules.CNix.Store (==) :: FileIngestionMethod -> FileIngestionMethod -> Bool # (/=) :: FileIngestionMethod -> FileIngestionMethod -> Bool # |
data FixedOutputHash Source #
Instances
Show FixedOutputHash Source # | |
Defined in Hercules.CNix.Store showsPrec :: Int -> FixedOutputHash -> ShowS # show :: FixedOutputHash -> String # showList :: [FixedOutputHash] -> ShowS # | |
Eq FixedOutputHash Source # | |
Defined in Hercules.CNix.Store (==) :: FixedOutputHash -> FixedOutputHash -> Bool # (/=) :: FixedOutputHash -> FixedOutputHash -> Bool # |
data DerivationOutputDetail Source #
DerivationOutputInputAddressed StorePath | |
DerivationOutputCAFixed FixedOutputHash StorePath | |
DerivationOutputCAFloating FileIngestionMethod HashType | |
DerivationOutputDeferred |
Instances
Show DerivationOutputDetail Source # | |
Defined in Hercules.CNix.Store showsPrec :: Int -> DerivationOutputDetail -> ShowS # show :: DerivationOutputDetail -> String # showList :: [DerivationOutputDetail] -> ShowS # | |
Eq DerivationOutputDetail Source # | |
Defined in Hercules.CNix.Store |
data DerivationOutput Source #
Instances
Show DerivationOutput Source # | |
Defined in Hercules.CNix.Store showsPrec :: Int -> DerivationOutput -> ShowS # show :: DerivationOutput -> String # showList :: [DerivationOutput] -> ShowS # | |
Eq DerivationOutput Source # | |
Defined in Hercules.CNix.Store (==) :: DerivationOutput -> DerivationOutput -> Bool # (/=) :: DerivationOutput -> DerivationOutput -> Bool # |
newtype Derivation Source #
Instances
newtype StorePathWithOutputs Source #
Store-agnostic store path representation: hash and name. Does not have a storedir or subpath inside the store path.
Instances
Show StorePath Source # | |
Eq StorePath Source # | |
Ord StorePath Source # | |
Defined in Hercules.CNix.Store | |
HasEncapsulation NixStorePath StorePath Source # | |
Defined in Hercules.CNix.Store |
forNonNull :: Applicative m => Ptr a -> (Ptr a -> m b) -> m (Maybe b) Source #
traverseNonNull :: Applicative m => (Ptr a -> m b) -> Ptr a -> m (Maybe b) Source #
releaseStore :: Store -> IO () Source #
withStore :: MonadUnliftIO m => (Store -> m a) -> m a Source #
withStoreFromURI :: MonadUnliftIO m => Text -> (Store -> m r) -> m r Source #
moveStorePath :: Ptr NixStorePath -> IO StorePath Source #
Move ownership of a Ptr NixStorePath into StorePath
moveStorePathMaybe :: Ptr NixStorePath -> IO (Maybe StorePath) Source #
Move ownership of a Ptr NixStorePath into StorePath
parseStorePathBaseName :: ByteString -> IO StorePath Source #
Create StorePath
from hash and name.
Throws C++ BadStorePath
exception when invalid.
parseStorePath :: Store -> ByteString -> IO StorePath Source #
Parse a complete store path including storeDir into a StorePath
.
Throws C++ BadStorePath
exception when invalid.
getStorePathHash :: StorePath -> IO ByteString Source #
storePathToPath :: Store -> StorePath -> IO ByteString Source #
clearPathInfoCache :: Store -> IO () Source #
clearSubstituterCaches :: IO () Source #
getOutputs :: StorePathWithOutputs -> IO [ByteString] Source #
buildPaths :: Store -> StdVector NixStorePathWithOutputs -> IO () Source #
getDerivation :: Store -> StorePath -> IO Derivation Source #
getDerivationFromString Source #
:: Store | |
-> ByteString | Derivation name (store path name with ".drv" extension removed) |
-> ByteString | Contents |
-> IO Derivation |
getDerivationOutputs :: Store -> ByteString -> Derivation -> IO [DerivationOutput] Source #
getDerivationArguments :: Derivation -> IO [ByteString] Source #
getDerivationSources :: Store -> Derivation -> IO [StorePath] Source #
getDerivationSources' :: Derivation -> IO [StorePath] Source #
getDerivationInputs :: Store -> Derivation -> IO [(StorePath, [ByteString])] Source #
getDerivationInputs' :: Derivation -> IO [(StorePath, [ByteString])] Source #
getDerivationEnv :: Derivation -> IO (Map ByteString ByteString) Source #
deleteStringPairs :: Ptr StringPairs -> IO () Source #
toByteStrings :: Ptr Strings -> IO [ByteString] Source #
toByteStringMap :: Ptr StringPairs -> IO (Map ByteString ByteString) Source #
withStringsOf :: [ByteString] -> (Ptr Strings -> IO a) -> IO a Source #
pushString :: Ptr Strings -> ByteString -> IO () Source #
parseSecretKey :: ByteString -> IO (ForeignPtr SecretKey) Source #
followLinksToStorePath :: Store -> ByteString -> IO StorePath Source #
Follow symlinks to the store and chop off the parts after the top-level store name
:: Store | |
-> StorePath | Exact store path, not a subpath |
-> IO (ForeignPtr (Ref ValidPathInfo)) | ValidPathInfo or exception |
validPathInfoNarSize :: ForeignPtr (Ref ValidPathInfo) -> Int64 Source #
The narSize field of a ValidPathInfo struct. Source: path-info.hh / store-api.hh
validPathInfoNarHash32 :: ForeignPtr (Ref ValidPathInfo) -> IO ByteString Source #
Copy the narHash field of a ValidPathInfo struct. Source: path-info.hh / store-api.hh
validPathInfoDeriver :: Store -> ForeignPtr (Ref ValidPathInfo) -> IO (Maybe StorePath) Source #
Deriver field of a ValidPathInfo struct. Source: store-api.hh
validPathInfoDeriver' :: ForeignPtr (Ref ValidPathInfo) -> IO (Maybe StorePath) Source #
validPathInfoReferences :: Store -> ForeignPtr (Ref ValidPathInfo) -> IO [StorePath] Source #
References field of a ValidPathInfo struct. Source: store-api.hh
validPathInfoReferences' :: ForeignPtr (Ref ValidPathInfo) -> IO [StorePath] Source #
computeFSClosure :: Store -> ClosureParams -> StdSet NixStorePath -> IO (StdSet NixStorePath) Source #
data NixStorePath Source #
Instances
data StringPairs Source #
data ValidPathInfo Source #
A Nix Strings
aka std::liststd::string
unsafeMallocBS :: MonadIO m => IO CString -> m ByteString Source #