mirror of
https://git.sr.ht/~edwardloveall/scribe
synced 2025-12-10 04:31:22 +00:00
Add a Scribe Nix package and NixOS module to the flake that a user can build and install. Includes the following supporting changes: - Adding a name and version to package.json to make Nix's mkYarnPackage happy - Update laravel-mix to fix ERR_OSSL_EVP_UNSUPPORTED on newer nodejs versions
22 lines
523 B
Nix
22 lines
523 B
Nix
{
|
|
description = "Scribe";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
devShell = import ./shell.nix { inherit pkgs; };
|
|
packages.default = pkgs.callPackage ./default.nix { };
|
|
})
|
|
// {
|
|
nixosModules.default = import ./module.nix self;
|
|
};
|
|
}
|