Use stdenvNoCC where possible
This makes them not rebuild when the compiler toolchain changes.
This commit is contained in:
parent
9c51d36c4d
commit
fb488a8bb5
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue