master @ 38 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ description = "Description for the project"; │
│ │
│ inputs = { │
│ flake-parts.url = "github:hercules-ci/flake-parts"; │
│ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; │
│ systems.url = "github:nix-systems/default"; │
│ wowsims = { │
│ url = "github:ooks-io/mop/nix"; │
│ inputs = { │
│ nixpkgs.follows = "nixpkgs"; │
│ flake-parts.follows = "flake-parts"; │
│ systems.follows = "systems"; │
│ }; │
│ }; │
│ wowsims-upstream = { │
│ url = "github:wowsims/mop"; │
│ flake = false; │
│ }; │
│ }; │
│ │
│ outputs = inputs @ { │
│ flake-parts, │
│ self, │
│ ... │
│ }: let │
│ # extend nixpkgs library with our sim library │
│ lib = import ./nix/lib/extend.nix {inherit inputs self;}; │
│ in │
│ flake-parts.lib.mkFlake { │
│ inherit inputs; │
│ specialArgs = {inherit lib;}; │
│ } { │
│ systems = import inputs.systems; │
│ imports = [./nix]; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ description = "Description for the project │
│ "; │
│ │
│ inputs = { │
│ flake-parts.url = "github:hercules-ci/fl │
│ ake-parts"; │
│ nixpkgs.url = "github:NixOS/nixpkgs/nixo │
│ s-unstable"; │
│ systems.url = "github:nix-systems/defaul │
│ t"; │
│ wowsims = { │
│ url = "github:ooks-io/mop/nix"; │
│ inputs = { │
│ nixpkgs.follows = "nixpkgs"; │
│ flake-parts.follows = "flake-parts"; │
│ systems.follows = "systems"; │
│ }; │
│ }; │
│ wowsims-upstream = { │
│ url = "github:wowsims/mop"; │
│ flake = false; │
│ }; │
│ }; │
│ │
│ outputs = inputs @ { │
│ flake-parts, │
│ self, │
│ ... │
│ }: let │
│ # extend nixpkgs library with our sim li │
│ brary │
│ lib = import ./nix/lib/extend.nix {inher │
│ it inputs self;}; │
│ in │
│ flake-parts.lib.mkFlake { │
│ inherit inputs; │
│ specialArgs = {inherit lib;}; │
│ } { │
│ systems = import inputs.systems; │
│ imports = [./nix]; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET