# Pastebin MIBpMdsF let # TODO: should probably use niv for this idk hackageSrc = builtins.fetchTarball https://github.com/input-output-hk/hackage.nix/archive/732ee5f0c30d6007187f98276b96427b681c048b.tar.gz; stackageSrc = builtins.fetchTarball https://github.com/input-output-hk/stackage.nix/archive/b7c784dd9abcf26128f8289b92329aefe76e7d43.tar.gz; haskellSrc = builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/79b44e52c64624029360e488dcf091c46c4e989f.tar.gz; _haskellNix = import haskellSrc { sourcesOverride = { hackage = hackageSrc; stackage = stackageSrc; }; }; in { haskellNix ? _haskellNix , nixpkgsSrc ? haskellNix.sources.nixpkgs-2009 , nixpkgsArgs ? haskellNix.nixpkgsArgs , pkgs ? import nixpkgsSrc nixpkgsArgs }: pkgs.haskell-nix.project { src = pkgs.haskell-nix.haskellLib.cleanGit { name = "shinobu-bot"; src = ./.; }; compiler-nix-name = "ghc901"; }