28 lines
525 B
Nix
28 lines
525 B
Nix
{
|
|
description = "Dev shell";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, nixpkgs }: {
|
|
devShells.x86_64-linux.default =
|
|
let
|
|
pkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
};
|
|
in pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
pkg-config
|
|
rustPlatform.bindgenHook
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
ffmpeg.dev
|
|
];
|
|
|
|
shellHook = ''
|
|
'';
|
|
};
|
|
};
|
|
}
|
|
|