Bootstrap nix
This commit is contained in:
parent
0625b72a68
commit
86bd0248a1
2
.gitignore
vendored
2
.gitignore
vendored
@ -135,3 +135,5 @@ dist
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
|
||||
.direnv
|
19
flake.nix
Normal file
19
flake.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
|
||||
ffmpreg = pkgs.ffmpeg;
|
||||
in {
|
||||
devShell = with pkgs; mkShell {
|
||||
buildInputs = with pkgs; [ sqlite bun bash yt-dlp mkvtoolnix ffmpreg chromaprint opustags ];
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc.lib ];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user