Skip to content

Commit

Permalink
fixed trailing whitespac
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana committed May 31, 2023
1 parent 132048d commit aa038a0
Showing 1 changed file with 40 additions and 30 deletions.
70 changes: 40 additions & 30 deletions flake.nix
Expand Up @@ -4,16 +4,16 @@
inputs = {

# The following inputs are managed by iogx:
#
# CHaP, flake-utils, haskell.nix, nixpkgs, hackage,
# iohk-nix, sphinxcontrib-haddock, pre-commit-hooks-nix,
#
# CHaP, flake-utils, haskell.nix, nixpkgs, hackage,
# iohk-nix, sphinxcontrib-haddock, pre-commit-hooks-nix,
# haskell-language-server, nosys, std, bitte-cells, tullia.
#
#
# They will be available in both systemized and desystemized flavours.
# Do not re-add those inputs again here.
# Do not re-add those inputs again here.
# If you need to, you can override them like this instead:
#
# iogx.inputs.hackage.url = "github:input-output-hk/hackage/my-branch"
#
# iogx.inputs.hackage.url = "github:input-output-hk/hackage/my-branch"
iogx.url = "github:zeme-wana/iogx";

# Other inputs can be defined as usual.
Expand All @@ -29,18 +29,18 @@
debug = true;

# While migrating to IOGX, you might want to keep the old flake outputs
# alongside the new ones. An easy way to do this is to prefix (nest)
# each output group { packages, apps, devShells, <nonstandard>, ... }
# with a custom name.
# For example, if `flakeOutputsPrefix = "__foo__"` then the flake will
# alongside the new ones. An easy way to do this is to prefix (nest)
# each output group { packages, apps, devShells, <nonstandard>, ... }
# with a custom name.
# For example, if `flakeOutputsPrefix = "__foo__"` then the flake will
# have outputs like these:
# outputs.devShells.x86_64-darwin.__foo__.baz
# outputs.nonstandard.x86_64-linux.__foo__.bar
# A value of "" means: do not nest.
flakeOutputsPrefix = "";

# The root of the repository.
# The path *must* contain the cabal.project file.
# The path *must* contain the cabal.project file.
repoRoot = ./.;

# The nonempty list of supported systems.
Expand All @@ -65,21 +65,21 @@
haskellProjectFile = ./nix/haskell-project.nix;

# A file evaluating to system-dependent flake outputs.
# For documentation, refer to the file ./nix/per-system-outputs.nix
# For documentation, refer to the file ./nix/per-system-outputs.nix
# generated by the template.
# A value of null means: no custom outputs.
perSystemOutputsFile = null;

# Shell prompt i.e. the value of the `PS1` evnvar.
# Shell prompt i.e. the value of the `PS1` evnvar.
# Not that because this is a nix string that will be embedded in a bash
# string, you need to double-escape the left slashes:
# Example:
# Example:
# bash: "\n\[\033[1;32m\][nix-shell:\w]\$\[\033[0m\] "
# shellPrompt: "\n\\[\\033[1;32m\\][nix-shell:\\w]\\$\\[\\033[0m\\] "
shellPrompt = "\n\\[\\033[1;32m\\][antaeus]\\$\\[\\033[0m\\] ";
shellPrompt = "\n\\[\\033[1;31m\\][antaeus: \\w]\\$\\[\\033[0m\\] ";

# Only for cosmetic purposes, the shell welcome message will be printed
# when you enter the shell.
# Only for cosmetic purposes, the shell welcome message will be printed
# when you enter the shell.
shellWelcomeMessage = "🤟 \\033[1;31mWelcome to antaeus\\033[0m 🤟";

# A file evaluating to your development shell.
Expand All @@ -91,7 +91,7 @@
# Whether to populate `hydraJobs` with the haskell artifacts.
# In general you want to set this to true.
# If this field is set to false, then the following fields have no
# effect:
# effect:
# excludeProfiledHaskellFromHydraJobs
# blacklistedHydraJobs
# enableHydraPreCommitCheck
Expand All @@ -102,22 +102,22 @@
excludeProfiledHaskellFromHydraJobs = true;

# A list of derivations to be excluded from CI.
# Each item in the list is an attribute path inside `hydraJobs` in the
# Each item in the list is an attribute path inside `hydraJobs` in the
# form of a dot-string. For example:
# [ "packages.my-attrs.my-nested-attr.my-pkg" "checks.exclude-me" ]
blacklistedHydraJobs = [ ];

# Whether to run the pre-commit-check in CI, which mostly runs the
# formatters. In general you want this to be true, but you can disable
# it temporarily while migrating to IOGX if you find that the formatters
# formatters. In general you want this to be true, but you can disable
# it temporarily while migrating to IOGX if you find that the formatters
# are producing large diffs on the source files.
enableHydraPreCommitCheck = true;

# The folder containing the read-the-docs python project.
# You should set this value to something like:
# `readTheDocsSiteDir = ./doc/read-the-docs-site`
# A value of null means: read-the-docs not available.
# If this value is null, then the following fields have no effect:
# If this value is null, then the following fields have no effect:
# readTheDocsHaddockPrologue
# readTheDocsExtraHaddockPackages
readTheDocsSiteDir = null;
Expand All @@ -127,23 +127,33 @@
# A value of "" means: do not add a prologue.
readTheDocsHaddockPrologue = "";

# A function taking the project's haskell.nix package set and returning
# A function taking the project's haskell.nix package set and returning
# a possibly empty attrset of extra haskell packages.
# The haddock for the returned packages will be included in the final
# haddock for this project.
# The returned attrset must be of the form:
# The haddock for the returned packages will be included in the final
# haddock for this project.
# The returned attrset must be of the form:
# `{ haskell-package-name: haskell-package }`
# In general you want to include IOG-specific haskell dependencies here.
# For example, in the haddock for plutus-apps you will want to include
# the haddock for some plutus-core components, in which case you would
# the haddock for some plutus-core components, in which case you would
# set this value like this:
# readTheDocsExtraHaddockPackages = hsPkgs: {
# inherit (hsPkgs)
# plutus-core plutus-tx plutus-tx-plugin
# inherit (hsPkgs)
# plutus-core plutus-tx plutus-tx-plugin
# plutus-ledger-api quickcheck-contractmodel
# }
# A value of null means: do not add extra packages.
readTheDocsExtraHaddockPackages = null;

# Override the `hooks` attrset passed to `pre-commit-hooks-nix.run`.
# See https://github.com/cachix/pre-commit-hooks.nix#nix
# The following hooks are configured and enabled by default:
# stylish-haskell, nixpkgs-fmt, cabal-fmt, shellcheck,
# editorconfig-checker, png-optimization, prettier
# For example if you want to disable stylish-haskell:
# preCommitCheckHooks = { stylish-haskell.enable = false; }
# A value of {} means: do not change the default hooks.
preCommitCheckHooks = { };
};


Expand Down

0 comments on commit aa038a0

Please sign in to comment.