From 0e7e84393628abcd6ad621ce2d9745d08e6e0fff Mon Sep 17 00:00:00 2001 From: Torsten Schmits Date: Mon, 20 May 2024 17:03:51 +0200 Subject: [PATCH] Release 0.7.0 --- changelog.md | 2 +- examples/doc-env-selection/flake.nix | 2 +- examples/doc-packages/flake.nix | 2 +- modules/basic.nix | 2 +- readme.md | 10 +++++----- test/bump/root/flake.nix | 2 +- test/ghci-vm/root/flake.nix | 2 +- test/ghci/root/flake.nix | 2 +- test/local-prelude/root/flake.nix | 2 +- test/lower-local/root/flake.nix | 2 +- test/lower-stabilize/root/flake.nix | 2 +- test/lower/root/flake.nix | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/changelog.md b/changelog.md index 021d2888..2b2286ab 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# Unreleased +# 0.7.0 * Fetch `thax` from a static URL, removing the flake input. * Fix environment not being set when using `direnv`. diff --git a/examples/doc-env-selection/flake.nix b/examples/doc-env-selection/flake.nix index 84c346f0..a27f8c63 100644 --- a/examples/doc-env-selection/flake.nix +++ b/examples/doc-env-selection/flake.nix @@ -1,6 +1,6 @@ { description = "hix test project"; - inputs.hix.url = "github:tek/hix?ref=0.6.9"; + inputs.hix.url = "github:tek/hix?ref=0.7.0"; outputs = {hix, ...}: hix ({config, ...}: { envs = { one.env = { number = 1; }; diff --git a/examples/doc-packages/flake.nix b/examples/doc-packages/flake.nix index 99844708..118fb327 100644 --- a/examples/doc-packages/flake.nix +++ b/examples/doc-packages/flake.nix @@ -1,6 +1,6 @@ { description = "Example"; - inputs.hix.url = "github:tek/hix?ref=0.6.9"; + inputs.hix.url = "github:tek/hix?ref=0.7.0"; outputs = {hix, ...}: hix { packages.parser = { src = ./.; diff --git a/modules/basic.nix b/modules/basic.nix index 6ed03e0c..87bec5af 100644 --- a/modules/basic.nix +++ b/modules/basic.nix @@ -329,7 +329,7 @@ in { relativePackages = util.relativePackages config.base config.internal.packagePaths; - hixVersion = "0.6.9"; + hixVersion = "0.7.0"; }; }; diff --git a/readme.md b/readme.md index fccc863e..ed2a7920 100644 --- a/readme.md +++ b/readme.md @@ -20,21 +20,21 @@ You can convert an existing project with Cabal files by executing this command i [FlakeHub](https://flakehub.com/docs) or GitHub: ``` -nix run 'https://flakehub.com/f/tek/hix/~0.6.tar.gz#bootstrap' -nix run 'github:tek/hix?ref=0.6.9#bootstrap' +nix run 'https://flakehub.com/f/tek/hix/~0.7.tar.gz#bootstrap' +nix run 'github:tek/hix?ref=0.7.0#bootstrap' ``` You can create a new project in the current directory: ``` -nix run 'https://flakehub.com/f/tek/hix/~0.6.tar.gz#new' -- --name 'project-name' --author 'Your Name' +nix run 'https://flakehub.com/f/tek/hix/~0.7.tar.gz#new' -- --name 'project-name' --author 'Your Name' ``` The manual process consists of first adding Hix to your Haskell project flake by specifying the input: ```nix { - inputs.hix.url = "https://flakehub.com/f/tek/hix/~0.6.tar.gz"; + inputs.hix.url = "https://flakehub.com/f/tek/hix/~0.7.tar.gz"; } ``` @@ -43,7 +43,7 @@ Then configure your project with NixOS module options: ```nix { description = "Example"; - inputs.hix.url = "https://flakehub.com/f/tek/hix/~0.6.tar.gz"; + inputs.hix.url = "https://flakehub.com/f/tek/hix/~0.7.tar.gz"; outputs = {hix, ...}: hix { packages.parser = { src = ./.; diff --git a/test/bump/root/flake.nix b/test/bump/root/flake.nix index 71177cef..6b7228b7 100644 --- a/test/bump/root/flake.nix +++ b/test/bump/root/flake.nix @@ -52,6 +52,6 @@ }; # TODO remove - internal.hixCli.dev = true; + internal.hixCli.dev = false; }); } diff --git a/test/ghci-vm/root/flake.nix b/test/ghci-vm/root/flake.nix index 66023c19..a686bcfa 100644 --- a/test/ghci-vm/root/flake.nix +++ b/test/ghci-vm/root/flake.nix @@ -21,6 +21,6 @@ }; ports.nginx = { host = 2; guest = 80; }; }; - internal.hixCli.dev = true; + internal.hixCli.dev = false; }); } diff --git a/test/ghci/root/flake.nix b/test/ghci/root/flake.nix index cfd8680a..16f5697c 100644 --- a/test/ghci/root/flake.nix +++ b/test/ghci/root/flake.nix @@ -33,6 +33,6 @@ }; expose = true; }; - internal.hixCli.dev = true; + internal.hixCli.dev = false; }); } diff --git a/test/local-prelude/root/flake.nix b/test/local-prelude/root/flake.nix index a3c82f3a..2d1195da 100644 --- a/test/local-prelude/root/flake.nix +++ b/test/local-prelude/root/flake.nix @@ -19,6 +19,6 @@ }; }; }; - internal.hixCli.dev = true; + internal.hixCli.dev = false; }; } diff --git a/test/lower-local/root/flake.nix b/test/lower-local/root/flake.nix index 22dc4358..2c7e6b78 100644 --- a/test/lower-local/root/flake.nix +++ b/test/lower-local/root/flake.nix @@ -44,6 +44,6 @@ envs.lower-local2.localPackage = api: api.minimal; # TODO remove - internal.hixCli.dev = true; + internal.hixCli.dev = false; }); } diff --git a/test/lower-stabilize/root/flake.nix b/test/lower-stabilize/root/flake.nix index c92408c0..4b84353d 100644 --- a/test/lower-stabilize/root/flake.nix +++ b/test/lower-stabilize/root/flake.nix @@ -33,6 +33,6 @@ envs.lower.localPackage = api: api.minimal; # TODO remove - internal.hixCli.dev = true; + internal.hixCli.dev = false; }); } diff --git a/test/lower/root/flake.nix b/test/lower/root/flake.nix index 038883ff..dd4360ae 100644 --- a/test/lower/root/flake.nix +++ b/test/lower/root/flake.nix @@ -34,6 +34,6 @@ envs.lower-main.localPackage = api: api.minimal; # TODO remove - internal.hixCli.dev = true; + internal.hixCli.dev = false; }); }