Skip to content

Instantly share code, notes, and snippets.

@lukegb

lukegb/shell.nix Secret

Created January 7, 2021 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukegb/aa76a4957b46bc95bdb75d92316ccc5e to your computer and use it in GitHub Desktop.
Save lukegb/aa76a4957b46bc95bdb75d92316ccc5e to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {}
}:
let
python = pkgs.python3.override { enableOptimizations = false; };
youtube-dl = pkgs.youtube-dl.override { inherit (python.pkgs) buildPythonPackage; };
in
pkgs.runCommand "dummy" { buildInputs = [ youtube-dl ]; } ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment