Skip to content

Commit

Permalink
Add a dev shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ejovo13 committed Dec 9, 2024
1 parent 50b2487 commit 833ecd8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,19 @@
outputs = {
self,
nixpkgs,
}: {
}: let
pkgs = import nixpkgs {system = "x86_64-linux";};
in {
packages.x86_64-linux.default = import ./default.nix {
pkgs = import nixpkgs {system = "x86_64-linux";};
pkgs = pkgs;
};
devShells.x86_64-linux.default = pkgs.mkShell {
# nativeBuildInputs = [pkgs.ffmpeg];
buildInputs = [pkgs.ffmpeg pkgs.cmake pkgs.pcg_c pkgs.pkg-config];

shellHook = ''
fish -c echo "ffmpeg is available at $(which ffmpeg)"
'';
};
};
}

0 comments on commit 833ecd8

Please sign in to comment.