32 lines
821 B
Nix
32 lines
821 B
Nix
{
|
|
description = "Logic gate simulator";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
devShells.default =
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; with nodePackages_latest; [
|
|
nodejs
|
|
];
|
|
};
|
|
}
|
|
);
|
|
|
|
# {{{ Caching and whatnot
|
|
nixConfig = {
|
|
# extra-substituters = [
|
|
# "erratic-gate.cachix.org-1:Ijiu/v//aVpKO4xBqV+2AM2s2uQYOnGCfoj9fYRXxtk" # I think I need this for neovim-nightly?
|
|
# ];
|
|
#
|
|
# extra-trusted-public-keys = [
|
|
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
# ];
|
|
};
|
|
# }}}
|
|
}
|