feat(flake)!: update

Fix `nixUnstable` -> `nixVersions.latest` (including `*-limited` overlay)
Remove `repl-flake` nix experimental feature (removed as of `2.22.0`)
Remove references to `rnix-lsp` (deprecated)
This commit is contained in:
reo101 2024-05-04 22:39:09 +03:00
parent ccb43c8a0a
commit 752f4ea454
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
13 changed files with 183 additions and 140 deletions

View file

@ -10,14 +10,13 @@
nix = {
# Ensure we can work with flakes
package = pkgs.nixUnstable;
package = pkgs.nixVersions.latest-monitored;
settings = {
# Enable flakes and new 'nix' command
experimental-features = [
# "nix-command"
# "flakes"
# "repl-flake"
# "no-url-literals" # Disabling URL literals
"ca-derivations" # Content-Addressable Derivations
@ -31,7 +30,6 @@
# "discard-references" # Discarding build output references
"fetch-closure" # builtins.fetchClosure
"impure-derivations" # Impure derivations
"repl-flake" # Passing installables to nix repl
];
# Allow building multiple derivations in parallel

View file

@ -104,7 +104,6 @@
circom-lsp
# Nix
rnix-lsp
nil
nixd

View file

@ -16,7 +16,6 @@
# dhall-lsp-server
# Nix
rnix-lsp
nil
# Zig

View file

@ -22,7 +22,7 @@
#
# settings = {
# # Enable flakes and new 'nix' command
# experimental-features = "nix-command flakes repl-flake";
# experimental-features = "nix-command flakes";
# # Deduplicate and optimize nix store
# auto-optimise-store = true;
# # Keep outputs and derivations
@ -33,11 +33,11 @@
nix = {
# Ensure we can work with flakes
package = pkgs.nixUnstable;
package = pkgs.nixVersions.latest;
# extraOptions = ''
# # Enable flakes and new 'nix' command
# experimental-features = nix-command flakes repl-flake
# experimental-features = nix-command flakes
# # Allow building multiple derivations in parallel
# max-jobs = auto
# # Deduplicate and optimize nix store
@ -62,7 +62,6 @@
experimental-features = [
# "nix-command"
# "flakes"
# "repl-flake"
# "no-url-literals" # Disabling URL literals
"ca-derivations" # Content-Addressable Derivations
@ -76,7 +75,7 @@
# "discard-references" # Discarding build output references
"fetch-closure" # builtins.fetchClosure
"impure-derivations" # Impure derivations
"repl-flake" # Passing installables to nix repl
"configurable-impure-env"
];
# Allow building multiple derivations in parallel

View file

@ -49,7 +49,6 @@
circom-lsp
# Nix
rnix-lsp
nil
# SSH and GPG