dream2nix
dream2nix copied to clipboard
debian-binary # obs-studio fails : IsADirectoryError: [Errno 21] Is a directory: './download/archives/' - generate_dream_lock.py, line 97
trafficstars
{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
};
outputs = {
self,
dream2nix,
} @ inp: (dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
source = ./.;
projects = {
htop = {
name = "obs-studio"; # intel-microcode # firmware-iwlwifi-binary # non-free repo is not supported
#name = "htop";
translator = "debian-binary";
};
};
});
}
nix run .#resolveImpure; nix build .
Get:559 http://deb.debian.org/debian bullseye/main amd64 xdg-utils all 1.1.3-4.1 [75,5 kB]
Fetched 290 MB in 28s (10,3 MB/s)
Download complete and in download only mode
W: Unable to read ./etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
Traceback (most recent call last):
File "/nix/store/1fcvnqxsaf31345r1fabmlfsn38qnbfr-generate_dream_lock.py", line 131, in <module>
main()
File "/nix/store/1fcvnqxsaf31345r1fabmlfsn38qnbfr-generate_dream_lock.py", line 97, in main
with open(f"./download/archives/{deb}", "rb") as f:
IsADirectoryError: [Errno 21] Is a directory: './download/archives/'
btw: non-free repo is not supported (or can the repo list be updated)?