1 2 3 4 5 6 7
let pkgs = import <nixpkgs> {}; in rec { trivmix = pkgs.stdenv.lib.overrideDerivation (pkgs.myHaskellPackages.callPackage ./trivmix.nix {}) (attrs : { src = ./.; }); }