Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed May 20, 2024
1 parent 878aeb6 commit 2977664
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion examples/doc-env-selection/flake.nix
Original file line number Diff line number Diff line change
@@ -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; };
Expand Down
2 changes: 1 addition & 1 deletion examples/doc-packages/flake.nix
Original file line number Diff line number Diff line change
@@ -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 = ./.;
Expand Down
2 changes: 1 addition & 1 deletion modules/basic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ in {

relativePackages = util.relativePackages config.base config.internal.packagePaths;

hixVersion = "0.6.9";
hixVersion = "0.7.0";

};
};
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
```

Expand All @@ -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 = ./.;
Expand Down
2 changes: 1 addition & 1 deletion test/bump/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
};

# TODO remove
internal.hixCli.dev = true;
internal.hixCli.dev = false;
});
}
2 changes: 1 addition & 1 deletion test/ghci-vm/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
};
ports.nginx = { host = 2; guest = 80; };
};
internal.hixCli.dev = true;
internal.hixCli.dev = false;
});
}
2 changes: 1 addition & 1 deletion test/ghci/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
};
expose = true;
};
internal.hixCli.dev = true;
internal.hixCli.dev = false;
});
}
2 changes: 1 addition & 1 deletion test/local-prelude/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
};
};
};
internal.hixCli.dev = true;
internal.hixCli.dev = false;
};
}
2 changes: 1 addition & 1 deletion test/lower-local/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
envs.lower-local2.localPackage = api: api.minimal;

# TODO remove
internal.hixCli.dev = true;
internal.hixCli.dev = false;
});
}
2 changes: 1 addition & 1 deletion test/lower-stabilize/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
envs.lower.localPackage = api: api.minimal;

# TODO remove
internal.hixCli.dev = true;
internal.hixCli.dev = false;
});
}
2 changes: 1 addition & 1 deletion test/lower/root/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
envs.lower-main.localPackage = api: api.minimal;

# TODO remove
internal.hixCli.dev = true;
internal.hixCli.dev = false;
});
}

0 comments on commit 2977664

Please sign in to comment.