Commit 6c91cb04fb

6c91cb04fb79b7c9815a3e76f9120cdaa319edd2

parent: a190c21659

Unregistered key

azizsayfiddin <aljustiet@tutamail.com> · 2026-07-30 14:38 UTC
committer: <noreply@github.com>

Fix `broken-string-escape` warning when using stricter `.nix` parsers  (#601)

Co-authored-by: Ulyssa <git@ulyssa.dev>

Layout: unified · split

flake.nix +21 −21
@@ -1,6 +1,6 @@
11{
22 description = "iamb";
3 nixConfig.bash-prompt = "\[nix-develop\]$ ";
3 nixConfig.bash-prompt = "[nix-develop]$ ";
44
55 inputs = {
66 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
@@ -12,18 +12,16 @@
1212 };
1313 };
1414
15 outputs =
16 {
17 self,
18 nixpkgs,
19 crane,
20 flake-utils,
21 fenix,
22 ...
23 }:
15 outputs = {
16 self,
17 nixpkgs,
18 crane,
19 flake-utils,
20 fenix,
21 ...
22 }:
2423 flake-utils.lib.eachDefaultSystem (
25 system:
26 let
24 system: let
2725 pkgs = nixpkgs.legacyPackages.${system};
2826 inherit (pkgs) lib;
2927
@@ -98,20 +96,22 @@
9896 # Build the crate as part of `nix flake check`
9997 inherit iamb;
10098
101 iamb-clippy = craneLib.cargoClippy (commonArgs // {
102 inherit cargoArtifacts;
103 cargoClippyExtraArgs = "--all-targets -- --deny warnings";
104 });
99 iamb-clippy = craneLib.cargoClippy (commonArgs
100 // {
101 inherit cargoArtifacts;
102 cargoClippyExtraArgs = "--all-targets -- --deny warnings";
103 });
105104
106105 iamb-fmt = craneLibNightly.cargoFmt {
107106 inherit src;
108107 };
109108
110 iamb-nextest = craneLib.cargoNextest (commonArgs // {
111 inherit cargoArtifacts;
112 partitions = 1;
113 partitionType = "count";
114 });
109 iamb-nextest = craneLib.cargoNextest (commonArgs
110 // {
111 inherit cargoArtifacts;
112 partitions = 1;
113 partitionType = "count";
114 });
115115 };
116116
117117 packages.default = iamb;