Remove pirate usage of Nix
Apparently Nix 2.24 doesn't like dirty git repos ("lock file contains unlocked input") and makes it known by failing, which tipped me that I wasn't using Lix everywhere.
This commit is contained in:
parent
f9d943ef63
commit
495b9cb2e1
12
flake.nix
12
flake.nix
|
@ -78,9 +78,15 @@
|
||||||
};
|
};
|
||||||
flakeTools = { self }: flake-utils.lib.eachDefaultSystem (system:
|
flakeTools = { self }: flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs (nixpkgsConfig // {
|
pkgs = import nixpkgs
|
||||||
inherit system;
|
(nixpkgsConfig // {
|
||||||
});
|
inherit system;
|
||||||
|
# We do an overlay here so nixos-rebuild and other use lix.
|
||||||
|
# We don't do an overlay for the whole system because lix is not binary compatible.
|
||||||
|
overlays = [
|
||||||
|
(self: super: { nix = super.lix; })
|
||||||
|
];
|
||||||
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
apps = {
|
apps = {
|
||||||
|
|
Loading…
Reference in a new issue