fomat flake.nix
This commit is contained in:
parent
f9df43f5e7
commit
d41aa2ab41
14
flake.nix
14
flake.nix
|
@ -1,19 +1,15 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; };
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
let
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
inherit (pkgs) lib;
|
inherit (pkgs) lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in rec {
|
in rec {
|
||||||
formatter."${system}" = pkgs.nixfmt-rfc-style;
|
formatter."${system}" = pkgs.nixfmt-rfc-style;
|
||||||
devShells."${system}".default = pkgs.mkShell {
|
devShells."${system}".default =
|
||||||
packages = [
|
pkgs.mkShell { packages = [ pkgs.mkvtoolnix-cli ]; };
|
||||||
pkgs.mkvtoolnix-cli
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
subtitle-merge = final.rustPlatform.buildRustPackage {
|
subtitle-merge = final.rustPlatform.buildRustPackage {
|
||||||
|
|
Loading…
Reference in a new issue