Use tailwindcss-with-pkgs flake
This commit is contained in:
18
flake.lock
generated
18
flake.lock
generated
@@ -54,7 +54,8 @@
|
|||||||
"daisyui": "daisyui",
|
"daisyui": "daisyui",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay",
|
||||||
|
"tailwindcss-with-pkgs": "tailwindcss-with-pkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
@@ -91,6 +92,21 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"tailwindcss-with-pkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785801205,
|
||||||
|
"narHash": "sha256-yfKa3/wK/m1Gwjc923Fvpa/k44MjQOOR3eUfjqLn+qI=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "f28fd97c86f37a6078599338fa9c6a0327821b9d",
|
||||||
|
"revCount": 3,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.mregirouard.com/nix/tailwindcss-with-pkgs.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.mregirouard.com/nix/tailwindcss-with-pkgs.git"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
10
flake.nix
10
flake.nix
@@ -10,6 +10,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
daisyui.url = "git+https://git.mregirouard.com/nix/daisyui.git";
|
daisyui.url = "git+https://git.mregirouard.com/nix/daisyui.git";
|
||||||
|
|
||||||
|
tailwindcss-with-pkgs.url = "git+https://git.mregirouard.com/nix/tailwindcss-with-pkgs.git";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }@inputs:
|
outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }@inputs:
|
||||||
@@ -38,6 +40,7 @@
|
|||||||
(import rust-overlay)
|
(import rust-overlay)
|
||||||
wasm-bindgen-overlay
|
wasm-bindgen-overlay
|
||||||
inputs.daisyui.overlays.default
|
inputs.daisyui.overlays.default
|
||||||
|
inputs.tailwindcss-with-pkgs.overlays.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -51,7 +54,7 @@
|
|||||||
wasm-bindgen-cli_0_2_123
|
wasm-bindgen-cli_0_2_123
|
||||||
binaryen
|
binaryen
|
||||||
lld
|
lld
|
||||||
tailwindcss_4
|
(tailwindcss_4.withPackages [daisyui daisyui-theme])
|
||||||
postgresql
|
postgresql
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -59,9 +62,6 @@
|
|||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
DAISYUI_PATH = "${pkgs.daisyui}";
|
|
||||||
DAISYUI_THEME_PATH = "${pkgs.daisyui-theme}";
|
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
diesel-cli
|
diesel-cli
|
||||||
] ++ build-pkgs;
|
] ++ build-pkgs;
|
||||||
@@ -73,8 +73,6 @@
|
|||||||
name = "libretunes";
|
name = "libretunes";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
DAISYUI_PATH = "${pkgs.daisyui}";
|
|
||||||
DAISYUI_THEME_PATH = "${pkgs.daisyui-theme}";
|
|
||||||
GIT_REV = rev;
|
GIT_REV = rev;
|
||||||
|
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
|||||||
Reference in New Issue
Block a user