Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- inline_c_ffi_6989586621679087783 :: Ptr NixStorePath -> Ptr NixStorePath -> IO CInt
- inline_c_ffi_6989586621679087793 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679087873 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO (Ptr (Ref NixStore))
- inline_c_ffi_6989586621679087882 :: Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679087913 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr (Ref NixStore))
- inline_c_ffi_6989586621679087922 :: Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679087931 :: Ptr (Ref NixStore) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679087940 :: Ptr (Ref NixStore) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679087964 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO CInt
- inline_c_ffi_6989586621679087985 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO CInt
- inline_c_ffi_6989586621679087991 :: IO (FunPtr (Ptr NixStorePath -> IO ()))
- inline_c_ffi_6989586621679088019 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679088049 :: 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_6989586621679088057 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088065 :: Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088076 :: Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088102 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO ()
- inline_c_ffi_6989586621679088128 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO ()
- inline_c_ffi_6989586621679088152 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO ()
- inline_c_ffi_6989586621679088173 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO ()
- inline_c_ffi_6989586621679088179 :: IO (FunPtr (Ptr NixStorePathWithOutputs -> IO ()))
- inline_c_ffi_6989586621679088191 :: Ptr NixStorePath -> Ptr (CStdSet CStdString) -> IO (Ptr NixStorePathWithOutputs)
- inline_c_ffi_6989586621679088199 :: Ptr NixStorePathWithOutputs -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679088222 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePathWithOutputs -> IO (Ptr (CStdVector CStdString))
- inline_c_ffi_6989586621679088248 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdVector NixStorePathWithOutputs) -> IO ()
- inline_c_ffi_6989586621679088256 :: IO (FunPtr (Ptr Derivation -> IO ()))
- inline_c_ffi_6989586621679088282 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr Derivation)
- inline_c_ffi_6989586621679088318 :: 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_6989586621679088341 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePath -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088351 :: Ptr Derivation -> IO (Ptr DerivationOutputsIterator)
- inline_c_ffi_6989586621679088362 :: Ptr DerivationOutputsIterator -> Ptr Derivation -> IO CBool
- inline_c_ffi_6989586621679088415 :: 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_6989586621679088480 :: Ptr DerivationOutputsIterator -> IO ()
- inline_c_ffi_6989586621679088488 :: Ptr Derivation -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088496 :: Ptr Derivation -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088519 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings)
- inline_c_ffi_6989586621679088542 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr (CStdVector (Ptr NixStorePath)))
- inline_c_ffi_6989586621679088551 :: Ptr Derivation -> IO (Ptr DerivationInputsIterator)
- inline_c_ffi_6989586621679088562 :: Ptr DerivationInputsIterator -> Ptr Derivation -> IO CBool
- inline_c_ffi_6989586621679088586 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr DerivationInputsIterator -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679088595 :: Ptr DerivationInputsIterator -> IO (Ptr Strings)
- inline_c_ffi_6989586621679088604 :: Ptr DerivationInputsIterator -> IO ()
- inline_c_ffi_6989586621679088613 :: Ptr DerivationInputsIterator -> IO ()
- inline_c_ffi_6989586621679088621 :: Ptr Derivation -> IO (Ptr StringPairs)
- inline_c_ffi_6989586621679088644 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings)
- inline_c_ffi_6989586621679088653 :: Ptr StringPairs -> IO ()
- inline_c_ffi_6989586621679088662 :: Ptr Strings -> IO ()
- inline_c_ffi_6989586621679088668 :: IO (FunPtr (Ptr Strings -> IO ()))
- inline_c_ffi_6989586621679088677 :: Ptr Strings -> IO CSize
- inline_c_ffi_6989586621679088686 :: Ptr Strings -> IO (Ptr StringsIterator)
- inline_c_ffi_6989586621679088698 :: Ptr StringsIterator -> Ptr Strings -> IO CBool
- inline_c_ffi_6989586621679088707 :: Ptr StringsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088717 :: Ptr StringsIterator -> IO ()
- inline_c_ffi_6989586621679088726 :: Ptr StringPairs -> IO (Ptr StringPairsIterator)
- inline_c_ffi_6989586621679088738 :: Ptr StringPairsIterator -> Ptr StringPairs -> IO CBool
- inline_c_ffi_6989586621679088747 :: Ptr StringPairsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088756 :: Ptr StringPairsIterator -> IO (Ptr CChar)
- inline_c_ffi_6989586621679088767 :: Ptr StringPairsIterator -> IO ()
- inline_c_ffi_6989586621679088773 :: IO (Ptr Strings)
- inline_c_ffi_6989586621679088782 :: Ptr Strings -> IO ()
- inline_c_ffi_6989586621679088798 :: Ptr Strings -> Ptr CChar -> IO ()
- inline_c_ffi_6989586621679088831 :: 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_6989586621679088857 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr SecretKey)
- inline_c_ffi_6989586621679088863 :: IO (FunPtr (Ptr SecretKey -> IO ()))
- inline_c_ffi_6989586621679088892 :: 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_6989586621679088922 :: 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_6989586621679088948 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO CBool
- inline_c_ffi_6989586621679088974 :: 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_6989586621679088981 :: IO (FunPtr (Ptr (Ref ValidPathInfo) -> IO ()))
- inline_c_ffi_6989586621679088989 :: Ptr (Ref ValidPathInfo) -> IO CLong
- inline_c_ffi_6989586621679088997 :: Ptr (Ref ValidPathInfo) -> IO (Ptr CChar)
- inline_c_ffi_6989586621679089020 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr NixStorePath)
- inline_c_ffi_6989586621679089043 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr (CStdVector (Ptr NixStorePath)))
- inline_c_ffi_6989586621679089085 :: 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_6989586621679087873 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO (Ptr (Ref NixStore)) Source #
inline_c_ffi_6989586621679087913 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr (Ref NixStore)) Source #
inline_c_ffi_6989586621679087964 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO CInt Source #
inline_c_ffi_6989586621679087985 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO CInt Source #
inline_c_ffi_6989586621679087991 :: IO (FunPtr (Ptr NixStorePath -> IO ())) Source #
inline_c_ffi_6989586621679088019 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> CLong -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679088049 :: 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_6989586621679088076 :: Ptr (Ref NixStore) -> Ptr NixStorePath -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679088102 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO () Source #
inline_c_ffi_6989586621679088128 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO () Source #
inline_c_ffi_6989586621679088152 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> IO () Source #
inline_c_ffi_6989586621679088173 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> IO () Source #
inline_c_ffi_6989586621679088179 :: IO (FunPtr (Ptr NixStorePathWithOutputs -> IO ())) Source #
inline_c_ffi_6989586621679088191 :: Ptr NixStorePath -> Ptr (CStdSet CStdString) -> IO (Ptr NixStorePathWithOutputs) Source #
inline_c_ffi_6989586621679088222 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePathWithOutputs -> IO (Ptr (CStdVector CStdString)) Source #
inline_c_ffi_6989586621679088248 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr (CStdVector NixStorePathWithOutputs) -> IO () Source #
inline_c_ffi_6989586621679088256 :: IO (FunPtr (Ptr Derivation -> IO ())) Source #
inline_c_ffi_6989586621679088282 :: 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_6989586621679088318 :: 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_6989586621679088341 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr NixStorePath -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679088362 :: Ptr DerivationOutputsIterator -> Ptr Derivation -> IO CBool Source #
inline_c_ffi_6989586621679088415 :: 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_6989586621679088519 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings) Source #
inline_c_ffi_6989586621679088542 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr (CStdVector (Ptr NixStorePath))) Source #
inline_c_ffi_6989586621679088562 :: Ptr DerivationInputsIterator -> Ptr Derivation -> IO CBool Source #
inline_c_ffi_6989586621679088586 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr DerivationInputsIterator -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679088644 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr Derivation -> IO (Ptr Strings) Source #
inline_c_ffi_6989586621679088653 :: Ptr StringPairs -> IO () Source #
inline_c_ffi_6989586621679088831 :: 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_6989586621679088857 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr CChar -> IO (Ptr SecretKey) Source #
inline_c_ffi_6989586621679088892 :: 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_6989586621679088922 :: 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_6989586621679088948 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref NixStore) -> Ptr NixStorePath -> IO CBool Source #
inline_c_ffi_6989586621679088974 :: 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_6989586621679088981 :: IO (FunPtr (Ptr (Ref ValidPathInfo) -> IO ())) Source #
inline_c_ffi_6989586621679088997 :: Ptr (Ref ValidPathInfo) -> IO (Ptr CChar) Source #
inline_c_ffi_6989586621679089020 :: Ptr CInt -> Ptr (Ptr CChar) -> Ptr (Ptr CChar) -> Ptr (Ptr ()) -> Ptr (Ptr AbstractCppExceptionPtr) -> Ptr (Ref ValidPathInfo) -> IO (Ptr NixStorePath) Source #
inline_c_ffi_6989586621679089043 :: 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_6989586621679089085 :: 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 #