Browse Source

fix nix build

canon
Hazel Levine 9 months ago
parent
commit
1f5cf62d52
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      default.nix
  2. +2
    -1
      shell.nix

+ 2
- 2
default.nix View File

@ -1,5 +1,5 @@
{ sources ? import ./nix/sources.nix
, pkgs ? import sources.nixpkgs { } }:
, pkgs ? import sources.nixpkgs {} }:
let
# import rust compiler
rust = import ./nix/rust.nix { inherit sources; };
@ -18,5 +18,5 @@ in naersk.buildPackage {
inherit src;
buildInputs = with pkgs; [ pulseaudio ];
nativeBuildInputs = with pkgs; [ pulseaudio ];
nativeBuildInputs = with pkgs; [ pkg-config ];
}

+ 2
- 1
shell.nix View File

@ -6,6 +6,7 @@ in
pkgs.mkShell {
buildInputs = [
rust
pkgs.libpulseaudio
pkgs.pulseaudio
pkgs.pkg-config
];
}

Loading…
Cancel
Save