input nix unstable channel to flake
This commit is contained in:
parent
2e1515b674
commit
1de8d1d791
1 changed files with 24 additions and 18 deletions
42
flake.nix
42
flake.nix
|
|
@ -3,29 +3,35 @@
|
||||||
description = "Dev Shell for dobutterfliescry.net";
|
description = "Dev Shell for dobutterfliescry.net";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {nixpkgs, ...}: let
|
outputs = {
|
||||||
|
nixpkgs,
|
||||||
|
nixpkgs-unstable,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
devShells."${system}".default = let
|
devShells."${system}".default = pkgs.mkShell {
|
||||||
pkgs = import nixpkgs {
|
packages = [
|
||||||
inherit system;
|
# dev local server
|
||||||
};
|
pkgs.simple-http-server-http-server
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
# dev local server
|
|
||||||
simple-http-server
|
|
||||||
|
|
||||||
# css baking
|
# css baking
|
||||||
sass
|
pkgs-unstable.sass
|
||||||
# image baking (from .svg)
|
# image baking (from .svg)
|
||||||
imagemagick
|
pkgs.imagemagick
|
||||||
];
|
];
|
||||||
|
|
||||||
shell = "${pkgs.bash}/bin/bash";
|
shell = "${pkgs.bash}/bin/bash";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue