[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] nix: add a simple nix shell
From: |
Vincenzo Palazzo |
Subject: |
Re: [PATCH v2] nix: add a simple nix shell |
Date: |
Wed, 04 Oct 2023 14:47:26 +0200 |
>
> > 2023-10-02 Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
> >
> > * etc/nix/default.nix: add a simple nix shell.
>
> OK for master.
> Thank you!
Pushed thanks
>
> >
> > This patch includes a simple nix shell that
> > I use to build 'poke' on my build machine.
> >
> > I believe this will be beneficial for others
> > who want to get started within a contained shell.
> >
> > Another advantage is the ability
> > to use the nix package manager across all Linux
> > distributions, not just for NixOS users.
> >
> > Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
> > ---
> > ChangeLog | 4 ++++
> > etc/nix/default.nix | 42 ++++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 46 insertions(+)
> > create mode 100755 etc/nix/default.nix
> >
> > diff --git a/ChangeLog b/ChangeLog
> > index 498e34ee..8d9b979e 100644
> > --- a/ChangeLog
> > +++ b/ChangeLog
> > @@ -1,3 +1,7 @@
> > +2023-10-02 Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
> > +
> > + * etc/nix/default.nix: add a simple nix shell.
> > +
> > 2023-09-23 Mohammad-Reza Nabipoor <mnabipoor@gnu.org>
> >
> > * etc/hacking.org (Maintainers): Update.
> > diff --git a/etc/nix/default.nix b/etc/nix/default.nix
> > new file mode 100755
> > index 00000000..d55b2014
> > --- /dev/null
> > +++ b/etc/nix/default.nix
> > @@ -0,0 +1,42 @@
> > +# Copyright (C) 2023 Vincenzo Palazzo <vincenzopalazzodev@gmail.com>.
> > +#
> > +# This program is free software: you can redistribute it and/or modify
> > +# it under the terms of the GNU General Public License as published by
> > +# the Free Software Foundation, either version 3 of the License, or
> > +# (at your option) any later version.
> > +#
> > +# This program is distributed in the hope that it will be useful,
> > +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > +# GNU General Public License for more details.
> > +#
> > +# You should have received a copy of the GNU General Public License
> > +# along with this program. If not, see <http://www.gnu.org/licenses/>.
> > +#
> > +with import <nixpkgs> { };
> > +stdenv.mkDerivation {
> > + name = "poke-dev-nix-env";
> > + buildInputs = [
> > + gcc
> > + boehmgc
> > + readline
> > + dejagnu
> > + pkg-config
> > + autoconf-archive
> > + gnumake
> > + flex
> > + bison
> > + help2man
> > + autoconf
> > + automake
> > + libnbd
> > + gettext
> > +
> > + # optional dev dependencies
> > + ccache
> > +
> > + # debugging dependencies
> > + valgrind
> > + ];
> > +}
> > +