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

View file

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

View file

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

View file

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