explicitly declare nixpkgs

This commit is contained in:
Denis Lehmann 2021-11-08 02:38:22 +01:00
parent 9a113c5013
commit a1dca93dc8
2 changed files with 15 additions and 9 deletions

View file

@ -3,7 +3,10 @@
nixConfig.bash-prompt = "\[\\e[1mstrm-dev\\e[0m:\\w\]$ ";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils }:
@ -28,7 +31,7 @@
src = self;
patchPhase = with pkgs; ''
substituteInPlace strm \
--replace mpv\ ${mpv}/bin/mpv\
--replace mpv\ ${mpv}/bin/mpv\
'';
installPhase = ''
install -m 755 -D strm $out/bin/strm