Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- inline_c_ffi_6989586621679088277 :: Ptr NixStorePath -> Ptr NixStorePath -> IO CInt
- inline_c_ffi_6989586621679088287 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088367 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO (Ptr (Ref NixStore))
- inline_c_ffi_6989586621679088376 :: Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679088407 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr (Ref NixStore))
- inline_c_ffi_6989586621679088416 :: Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679088425 :: Ptr (Ref NixStore) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088434 :: Ptr (Ref NixStore) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088458 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO CInt
- inline_c_ffi_6989586621679088479 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO CInt
- inline_c_ffi_6989586621679088485 :: IO (FunPtr (Ptr NixStorePath -> IO ()))
- inline_c_ffi_6989586621679088513 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679088543 :: 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_6989586621679088551 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088559 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088570 :: Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088596 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO ()
- inline_c_ffi_6989586621679088622 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO ()
- inline_c_ffi_6989586621679088646 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679088667 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO ()
- inline_c_ffi_6989586621679088673 :: IO (FunPtr (Ptr NixStorePathWithOutputs -> IO ()))
- inline_c_ffi_6989586621679088685 :: Ptr NixStorePath -> Ptr (CStdSet CStdString) -> IO (Ptr NixStorePathWithOutputs)
- inline_c_ffi_6989586621679088693 :: Ptr NixStorePathWithOutputs -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679088716 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePathWithOutputs -> IO (Ptr (CStdVector CStdString))
- inline_c_ffi_6989586621679088742 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdVector NixStorePathWithOutputs) -> IO ()
- inline_c_ffi_6989586621679088750 :: IO (FunPtr (Ptr Derivation -> IO ()))
- inline_c_ffi_6989586621679088776 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr Derivation)
- inline_c_ffi_6989586621679088812 :: 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_6989586621679088835 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088845 :: Ptr Derivation -> IO (Ptr DerivationOutputsIterator)
- inline_c_ffi_6989586621679088856 :: Ptr DerivationOutputsIterator -> Ptr Derivation -> IO CBool
- inline_c_ffi_6989586621679088909 :: 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_6989586621679088974 :: Ptr DerivationOutputsIterator -> IO ()
- inline_c_ffi_6989586621679088982 :: Ptr Derivation -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088990 :: Ptr Derivation -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089013 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings)
- inline_c_ffi_6989586621679089036 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr (CStdVector (Ptr NixStorePath)))
- inline_c_ffi_6989586621679089045 :: Ptr Derivation -> IO (Ptr DerivationInputsIterator)
- inline_c_ffi_6989586621679089056 :: Ptr DerivationInputsIterator -> Ptr Derivation -> IO CBool
- inline_c_ffi_6989586621679089080 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr DerivationInputsIterator -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679089089 :: Ptr DerivationInputsIterator -> IO (Ptr Strings)
- inline_c_ffi_6989586621679089098 :: Ptr DerivationInputsIterator -> IO ()
- inline_c_ffi_6989586621679089107 :: Ptr DerivationInputsIterator -> IO ()
- inline_c_ffi_6989586621679089115 :: Ptr Derivation -> IO (Ptr StringPairs)
- inline_c_ffi_6989586621679089138 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings)
- inline_c_ffi_6989586621679089147 :: Ptr StringPairs -> IO ()
- inline_c_ffi_6989586621679089156 :: Ptr Strings -> IO ()
- inline_c_ffi_6989586621679089162 :: IO (FunPtr (Ptr Strings -> IO ()))
- inline_c_ffi_6989586621679089171 :: Ptr Strings -> IO CSize
- inline_c_ffi_6989586621679089180 :: Ptr Strings -> IO (Ptr StringsIterator)
- inline_c_ffi_6989586621679089192 :: Ptr StringsIterator -> Ptr Strings -> IO CBool
- inline_c_ffi_6989586621679089201 :: Ptr StringsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089211 :: Ptr StringsIterator -> IO ()
- inline_c_ffi_6989586621679089220 :: Ptr StringPairs -> IO (Ptr StringPairsIterator)
- inline_c_ffi_6989586621679089232 :: Ptr StringPairsIterator -> Ptr StringPairs -> IO CBool
- inline_c_ffi_6989586621679089241 :: Ptr StringPairsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089250 :: Ptr StringPairsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089261 :: Ptr StringPairsIterator -> IO ()
- inline_c_ffi_6989586621679089267 :: IO (Ptr Strings)
- inline_c_ffi_6989586621679089276 :: Ptr Strings -> IO ()
- inline_c_ffi_6989586621679089292 :: Ptr Strings -> Ptr CChar -> IO ()
- inline_c_ffi_6989586621679089325 :: 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_6989586621679089351 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr SecretKey)
- inline_c_ffi_6989586621679089357 :: IO (FunPtr (Ptr SecretKey -> IO ()))
- inline_c_ffi_6989586621679089386 :: 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_6989586621679089416 :: 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_6989586621679089442 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO CBool
- inline_c_ffi_6989586621679089468 :: 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_6989586621679089475 :: IO (FunPtr (Ptr (Ref ValidPathInfo) -> IO ()))
- inline_c_ffi_6989586621679089483 :: Ptr (Ref ValidPathInfo) -> IO CLong
- inline_c_ffi_6989586621679089491 :: Ptr (Ref ValidPathInfo) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089514 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679089537 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr (CStdVector (Ptr NixStorePath)))
- inline_c_ffi_6989586621679089579 :: 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 ()
- addTemporaryRoot :: 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
- isValidPath :: Store -> StorePath -> IO Bool
- 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_6989586621679088367 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO (Ptr (Ref NixStore)) Source #
inline_c_ffi_6989586621679088407 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr (Ref NixStore)) Source #
inline_c_ffi_6989586621679088458 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO CInt Source #
inline_c_ffi_6989586621679088479 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO CInt Source #
inline_c_ffi_6989586621679088485 :: IO (FunPtr (Ptr NixStorePath -> IO ())) Source #
inline_c_ffi_6989586621679088513 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679088543 :: 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_6989586621679088570 :: Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679088596 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO () Source #
inline_c_ffi_6989586621679088622 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO () Source #
inline_c_ffi_6989586621679088646 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO () Source #
inline_c_ffi_6989586621679088667 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO () Source #
inline_c_ffi_6989586621679088673 :: IO (FunPtr (Ptr NixStorePathWithOutputs -> IO ())) Source #
inline_c_ffi_6989586621679088685 :: Ptr NixStorePath -> Ptr (CStdSet CStdString) -> IO (Ptr NixStorePathWithOutputs) Source #
inline_c_ffi_6989586621679088716 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePathWithOutputs -> IO (Ptr (CStdVector CStdString)) Source #
inline_c_ffi_6989586621679088742 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdVector NixStorePathWithOutputs) -> IO () Source #
inline_c_ffi_6989586621679088750 :: IO (FunPtr (Ptr Derivation -> IO ())) Source #
inline_c_ffi_6989586621679088776 :: 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_6989586621679088812 :: 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_6989586621679088835 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePath -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679088856 :: Ptr DerivationOutputsIterator -> Ptr Derivation -> IO CBool Source #
inline_c_ffi_6989586621679088909 :: 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_6989586621679089013 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings) Source #
inline_c_ffi_6989586621679089036 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr (CStdVector (Ptr NixStorePath))) Source #
inline_c_ffi_6989586621679089056 :: Ptr DerivationInputsIterator -> Ptr Derivation -> IO CBool Source #
inline_c_ffi_6989586621679089080 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr DerivationInputsIterator -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679089138 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings) Source #
inline_c_ffi_6989586621679089147 :: Ptr StringPairs -> IO () Source #
inline_c_ffi_6989586621679089325 :: 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_6989586621679089351 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr SecretKey) Source #
inline_c_ffi_6989586621679089386 :: 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_6989586621679089416 :: 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_6989586621679089442 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO CBool Source #
inline_c_ffi_6989586621679089468 :: 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_6989586621679089475 :: IO (FunPtr (Ptr (Ref ValidPathInfo) -> IO ())) Source #
inline_c_ffi_6989586621679089491 :: Ptr (Ref ValidPathInfo) -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679089514 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679089537 :: 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_6989586621679089579 :: 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 #