nix: fix `--argstr cc $compiler`
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 5 May 2018 09:09:08 +0000 (19:09 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 5 May 2018 09:09:31 +0000 (19:09 +1000)
default.nix

index 469c3f9..c523b56 100644 (file)
@@ -1,2 +1,2 @@
-{ pkgs ? import <nixpkgs> {} }:
-pkgs.callPackage ./derivation.nix {}
+{ pkgs ? import <nixpkgs> {}, cc ? null }@args:
+pkgs.callPackage ./derivation.nix args