Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mmlb committed Jan 6, 2023
1 parent a772259 commit c65ae3a
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
let
_pkgs = import <nixpkgs> {};
in
{
pkgs ?
import (_pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
#branch@date: nixpkgs-unstable@2023-01-03
rev = "298add347c2bbce14020fcb54051f517c391196b";
sha256 = "0q0c6gf21rbfxvb9fvcmybvz9fxskbk324xbvqsh1dz2wzgylrja";
}) {},
}:
(pkgs.buildFHSUserEnv {
name = "heads-build-env";
targetPkgs = pkgs: (with pkgs; [
bison # Generate flashmap descriptor parser
curl
flex
git
gnat11 # gcc with ada
gnumake
m4
ncurses # make menuconfig
nss # ca-certs
perl
pkgconfig
qemu # test the image
wget
which
zlib.dev
]);
runScript = ''
#!/usr/bin/env bash
unset NIX_SSL_CERT_FILE
unset SSL_CERT_FILE
bash
'';
})
.env

0 comments on commit c65ae3a

Please sign in to comment.