fix: Amend import paths to use whitelisted nixpkgs

This commit is contained in:
Vincent Ambo 2019-12-09 02:54:35 +00:00
parent 39ba761663
commit 46e5a23937
4 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
inherit (pkgs.third_party.nixpkgs) writeShellScriptBin haskell; inherit (pkgs.third_party) writeShellScriptBin haskell;
tazblog = haskell.packages.ghc865.callPackage ./tazblog.nix {}; tazblog = haskell.packages.ghc865.callPackage ./tazblog.nix {};
wrapper = writeShellScriptBin "tazblog" '' wrapper = writeShellScriptBin "tazblog" ''
export PORT=8000 export PORT=8000

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
let inherit (pkgs.third_party.nixpkgs) callPackage fetchFromGitHub; let inherit (pkgs.third_party) callPackage fetchFromGitHub;
in callPackage (fetchFromGitHub { in callPackage (fetchFromGitHub {
owner = "nmattia"; owner = "nmattia";
repo = "naersk"; repo = "naersk";

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
pkgs.third_party.nixpkgs.buildGoPackage { pkgs.third_party.buildGoPackage {
name = "blog_cli"; name = "blog_cli";
goPackagePath = "github.com/tazjin/personal/blog_cli"; goPackagePath = "github.com/tazjin/personal/blog_cli";
src = ./.; src = ./.;

View file

@ -8,7 +8,7 @@
{ pkgs, kms, ... }: { pkgs, kms, ... }:
let inherit (pkgs.third_party.nixpkgs) google-cloud-sdk tree writeShellScriptBin; let inherit (pkgs.third_party) google-cloud-sdk tree writeShellScriptBin;
in (writeShellScriptBin "pass" '' in (writeShellScriptBin "pass" ''
set -eo pipefail set -eo pipefail