forked from the-distro/ofborg
use the pinned nixpkgs for the shell
This commit is contained in:
parent
ee3185da32
commit
c2ff6a0852
17
shell.nix
17
shell.nix
|
@ -1,11 +1,5 @@
|
||||||
let
|
let
|
||||||
p = import <nixpkgs> {};
|
pkgs = import ./nix {};
|
||||||
pkgs = import (p.fetchFromGitHub {
|
|
||||||
owner = "NixOS";
|
|
||||||
repo = "nixpkgs-channels";
|
|
||||||
rev = "cfafd6f5a819472911eaf2650b50a62f0c143e3e";
|
|
||||||
sha256 = "10xgiyh4hbwwiy8qg70ma1f27nd717aflksk9fx3ci8bmxmqbkkn";
|
|
||||||
}) {};
|
|
||||||
|
|
||||||
|
|
||||||
inherit (pkgs) stdenv;
|
inherit (pkgs) stdenv;
|
||||||
|
@ -14,6 +8,7 @@ let
|
||||||
name = "gh-event-forwarder";
|
name = "gh-event-forwarder";
|
||||||
src = null;
|
src = null;
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
nix-prefetch-git
|
||||||
php
|
php
|
||||||
phpPackages.composer
|
phpPackages.composer
|
||||||
nix
|
nix
|
||||||
|
@ -23,17 +18,19 @@ let
|
||||||
bash
|
bash
|
||||||
];
|
];
|
||||||
|
|
||||||
HISTFILE = "${src}/.bash_hist";
|
# HISTFILE = "${src}/.bash_hist";
|
||||||
passthru.rustEnv = rustEnv;
|
passthru.rustEnv = rustEnv;
|
||||||
};
|
};
|
||||||
|
|
||||||
rustEnv = stdenv.mkDerivation rec {
|
rustEnv = stdenv.mkDerivation rec {
|
||||||
name = "gh-event-forwarder";
|
name = "gh-event-forwarder";
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
php
|
nix-prefetch-git
|
||||||
phpPackages.composer
|
#php
|
||||||
|
#phpPackages.composer
|
||||||
rust.rustc
|
rust.rustc
|
||||||
rust.cargo
|
rust.cargo
|
||||||
|
carnix
|
||||||
openssl.dev
|
openssl.dev
|
||||||
pkgconfig
|
pkgconfig
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue