use rust from nixpkgs
This commit is contained in:
12
shell.nix
12
shell.nix
@@ -1,16 +1,14 @@
|
|||||||
let
|
let
|
||||||
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
nixpkgs = import <nixpkgs> {};
|
||||||
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
|
||||||
rustpkgs = nixpkgs.rustChannels.stable;
|
|
||||||
in
|
in
|
||||||
with nixpkgs;
|
with nixpkgs;
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "audio-conv";
|
name = "audio-conv";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
rustpkgs.rust
|
cargo
|
||||||
rustpkgs.cargo
|
rustc
|
||||||
rustpkgs.rls-preview
|
rustfmt
|
||||||
rustpkgs.rustfmt-preview
|
rust-analyzer
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base # needed for opus, resample, ...
|
gst_all_1.gst-plugins-base # needed for opus, resample, ...
|
||||||
gst_all_1.gst-plugins-good # needed for flac
|
gst_all_1.gst-plugins-good # needed for flac
|
||||||
|
|||||||
Reference in New Issue
Block a user