My nixos configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

dracula/konsole: make use of mkDerivation with function arg

+4 -4
+4 -4
packages/dracula/konsole/default.nix
··· 2 2 stdenv, 3 3 fetchFromGitHub, 4 4 }: 5 - stdenv.mkDerivation rec { 5 + stdenv.mkDerivation (self: { 6 6 pname = "dracula-konsole-theme"; 7 7 version = "fa85573"; 8 8 9 9 src = fetchFromGitHub { 10 - name = "${pname}-${version}-source"; 10 + name = "${self.pname}-${self.version}-source"; 11 11 owner = "dracula"; 12 12 repo = "konsole"; 13 - rev = version; 13 + rev = self.version; 14 14 sha256 = "sha256-375TOAOEx9FObS9F2tMYEyKboTYCZycawGoNEolZ0Ns="; 15 15 }; 16 16 ··· 20 20 mkdir -p $out/share/konsole 21 21 cp Dracula.colorscheme $out/share/konsole 22 22 ''; 23 - } 23 + })