mirror of
https://github.com/iv-org/invidious.git
synced 2026-08-04 14:22:04 +00:00
chore: Move nix files out of root directory (#5861)
This commit is contained in:
27
nix/flake.nix
Normal file
27
nix/flake.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
description = "Invidious Nix Flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/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};
|
||||
devPackages = import ./packages.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = devPackages;
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user