nix-paths 1.0.0.1 → 1.0.1
raw patch · 3 files changed
+10/−6 lines, 3 filessetup-changed
Files
- Setup.lhs +1/−1
- nix-paths.cabal +4/−4
- src/Nix/Paths.hs +5/−1
Setup.lhs view
@@ -17,7 +17,7 @@ > } > > programs :: [String]-> programs = ["nix-instantiate", "nix-build", "nix-env", "nix-store"]+> programs = ["nix-instantiate", "nix-build", "nix-env", "nix-store", "nix-hash"] > > configure :: (GenericPackageDescription, HookedBuildInfo) -> ConfigFlags -> IO LocalBuildInfo > configure (gpd, hbi) flags = do
nix-paths.cabal view
@@ -1,10 +1,10 @@ name: nix-paths-version: 1.0.0.1+version: 1.0.1 synopsis: Knowledge of Nix's installation directories. description: This module provides full paths to various Nix utilities, like @nix-store@, @nix-instantiate@, and @nix-env@.-category: Distribution+category: Distribution, Nix homepage: https://github.com/peti/nix-paths bug-reports: https://github.com/peti/nix-paths/issues author: Peter Simons@@ -13,7 +13,7 @@ license-file: LICENSE build-type: Custom cabal-version: >= 1.10-tested-with: GHC > 7.2 && < 8.1+tested-with: GHC > 7.2 && < 8.3 flag allow-relative-paths description: If any of the required Nix tools are missing at@@ -34,4 +34,4 @@ exposed-modules: Nix.Paths, Nix.FindFile build-depends: base < 5, process if !flag(allow-relative-paths)- build-tools: nix-instantiate, nix-build, nix-env, nix-store+ build-tools: nix-instantiate, nix-build, nix-env, nix-store, nix-hash
src/Nix/Paths.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} -module Nix.Paths ( nixInstantiate, nixBuild, nixEnv, nixStore ) where+module Nix.Paths ( nixInstantiate, nixBuild, nixEnv, nixStore, nixHash ) where -- | Complete path to the @nix-instantiate@ executable. nixInstantiate :: FilePath@@ -17,3 +17,7 @@ -- | Complete path to the @nix-store@ executable. nixStore :: FilePath nixStore = PATH_TO_NIX_STORE++-- | Complete path to the @nix-hash@ executable.+nixHash :: FilePath+nixHash = PATH_TO_NIX_HASH