HORIZON HASKELLDocslts/ghc-10.0.xa8896112026-10-18Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · a889611 · 2026-10-18

Modulehnix-store-nar-0.1.2.0Haskell2010

System.Nix.Nar.Effects

  • 2 types
  • 3 values
datadata NarEffects (m :: Type -> Type)
#
valueisExecutable :: FileStatus -> Bool
#

Check whether the file is executable by the owner.

Matches the logic used by Nix.

access() should not be used for this purpose on macOS. It returns false for executables when placed in certain directories. For example, when in an app bundle: App.appContentsResourcesen.lprojmyexecutable.strings

valuesetExecutable :: FilePath -> IO ()
#

Set the file to be executable by the owner, group, and others.

Matches the logic used by Nix.