Skip to content

Commit a1fe90d

Browse files
authored
Merge branch 'Irrational-Encoding-Wizardry:master' into master
2 parents 90d490c + 153d715 commit a1fe90d

File tree

3 files changed

+10
-30
lines changed

3 files changed

+10
-30
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,3 @@ jobs:
4343
with:
4444
nix_path: nixpkgs=channel:nixos-unstable
4545
- run: nix build .#packages.x86_64-linux.default -L
46-
47-
darwin:
48-
runs-on: macos-latest
49-
steps:
50-
- uses: actions/[email protected]
51-
- uses: cachix/install-nix-action@v15
52-
with:
53-
nix_path: nixpkgs=channel:nixos-unstable
54-
- run: nix build . -L

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
55
inputs.flake-utils.url = "github:numtide/flake-utils";
66

7-
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
7+
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
88
let
99
pkgs = import nixpkgs {
1010
inherit system;
@@ -15,24 +15,13 @@
1515
python = pkgs.python310;
1616

1717
# On darwin it sadly needs to be monkey-patched still.
18-
vapoursynth_python =
19-
if nixpkgs.lib.hasSuffix "-darwin" system then
20-
python.pkgs.vapoursynth.override {
21-
vapoursynth =
22-
pkgs.vapoursynth.overrideAttrs (old: {
23-
patches = [];
24-
meta.broken = false;
25-
meta.platforms = [ system ];
26-
});
27-
}
28-
else
29-
python.pkgs.vapoursynth;
18+
vapoursynth_python = py: py.pkgs.vapoursynth;
3019
in
3120
{
3221
devShells.default = pkgs.mkShell {
3322
buildInputs = [
3423
(python.withPackages (ps: [
35-
vapoursynth_python
24+
(vapoursynth_python python)
3625
]))
3726
];
3827
};
@@ -48,7 +37,7 @@
4837
builtins.elemAt version 0;
4938
src = ./.;
5039
buildInputs = [
51-
vapoursynth_python
40+
(vapoursynth_python python)
5241
];
5342
checkPhase = ''
5443
${python}/bin/python -m unittest discover -s $src/tests

0 commit comments

Comments
 (0)