Use stdenvNoCC where possible

This makes them not rebuild when the compiler toolchain changes.
This commit is contained in:
Simon Bruder 2021-01-03 12:55:56 +01:00
parent 9c51d36c4d
commit fb488a8bb5
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
4 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
stdenv = pkgs.stdenv;
mpv-prescalers = builtins.fetchGit { mpv-prescalers = builtins.fetchGit {
url = "https://github.com/bjin/mpv-prescalers"; url = "https://github.com/bjin/mpv-prescalers";
ref = "master"; ref = "master";
@ -25,7 +23,7 @@ let
}; };
}; };
pitchcontrol = (stdenv.mkDerivation rec { pitchcontrol = (pkgs.stdenvNoCC.mkDerivation rec {
name = "pitchcontrol.lua"; name = "pitchcontrol.lua";
scriptName = name; scriptName = name;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
waifu2x-photo-models = pkgs.stdenv.mkDerivation { waifu2x-photo-models = pkgs.stdenvNoCC.mkDerivation {
name = "waifu2x-photo-models"; name = "waifu2x-photo-models";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
let let
scripts = pkgs.stdenv.mkDerivation { scripts = pkgs.stdenvNoCC.mkDerivation {
name = "scripts"; name = "scripts";
src = ../files/scripts; src = ../files/scripts;

View file

@ -3,7 +3,7 @@ let
common = import ./common.nix; common = import ./common.nix;
solarized = common.colorschemes.solarized; solarized = common.colorschemes.solarized;
wallpaper = pkgs.stdenv.mkDerivation { wallpaper = pkgs.stdenvNoCC.mkDerivation {
name = "wallpaper"; name = "wallpaper";
src = pkgs.fetchurl { src = pkgs.fetchurl {